Package-level declarations
Runtime API for /docs/reference/reflection.html
Runtime API for /docs/reference/reflection.html
Types
Makes the annotated annotation class an associated object key.
The experimental marker for associated objects API.
Represents an annotated element and allows to obtain its annotations. See the Kotlin language documentation for more information.
Represents a class and provides introspection capabilities. Instances of this class are obtainable by the ::class
syntax. See the Kotlin language documentation for more information.
Represents a class and provides introspection capabilities. Instances of this class are obtainable by the ::class
syntax. See the Kotlin language documentation for more information.
Represents an entity which may contain declarations of any other entities, such as a class or a package.
Represents a property declared as a var
.
Represents a property declared as a var
.
Represents a var
-property without any kind of receiver.
Represents a var
-property without any kind of receiver.
Represents a var
-property, operations on which take one receiver as a parameter.
Represents a var
-property, operations on which take one receiver as a parameter.
Represents a var
-property, operations on which take two receivers as parameters.
Represents a var
-property, operations on which take two receivers as parameters.
Represents a parameter passed to a function or a property getter/setter, including this
and extension receiver parameters.
Represents a property, such as a named val
or var
declaration. Instances of this class are obtainable by the ::
operator.
Represents a property without any kind of receiver. Such property is either originally declared in a receiverless context such as a package, or has the receiver bound to it.
Represents a property, operations on which take one receiver as a parameter.
Represents a property, operations on which take two receivers as parameters, such as an extension property declared in a class.
Represents a type. Type is usually either a class with optional type arguments, or a type parameter of some declaration, plus nullability.
Represents a type. Type is usually either a class with optional type arguments, or a type parameter of some declaration, plus nullability.
Represents a declaration of a type parameter of a class or a callable. See the Kotlin language documentation for more information.
Represents a declaration of a type parameter of a class or a callable. See the Kotlin language documentation for more information.
Represents a type projection. Type projection is usually the argument to another type in a type usage. For example, in the type Array<out Number>
, out Number
is the covariant projection of the type represented by the class Number
.
Represents a type projection. Type projection is usually the argument to another type in a type usage. For example, in the type Array<out Number>
, out Number
is the covariant projection of the type represented by the class Number
.
Represents variance applied to a type parameter on the declaration site (declaration-site variance), or to a type in a projection (use-site variance).
Visibility is an aspect of a Kotlin declaration regulating where that declaration is accessible in the source code. Visibility can be changed with one of the following modifiers: public
, protected
, internal
, private
.
Functions
If T is an @AssociatedObjectKey-annotated annotation class and this class is annotated with @T (S::class
), returns object S
.