To denote the current receiver, we use this expressions:
- In a member of a class, this refers to the current object of that class
- this<Supertype> is used to qualified calls to supertype's implementations of members, see Classes and Inheritance#Overriding rules
- In an extension function or an extension function literal, this denotes the receiver parameter that is passed on the left-hand side of a dot.
If this has no qualifiers, it refers to the innermost enclosing scope. To refer to this in other scopes, label qualifiers are used: