Km Function
Represents a Kotlin function declaration.
Various function attributes can be read and manipulated via extension properties, such as KmFunction.visibility or KmFunction.isSuspend.
Properties
Types of context receivers of the function.
Contract of the function.
Indicates that the corresponding function has at least one annotation.
Indicates that the corresponding function has non-stable parameter names, i.e., cannot be called with named arguments.
Indicates that the corresponding function is expect
.
Indicates that the corresponding function is external
.
Indicates that the corresponding function is infix
.
Indicates that the corresponding function is inline
.
Indicates that the corresponding function is operator
.
Indicates that the corresponding function is suspend
.
Indicates that the corresponding function is tailrec
.
Represents kind of the corresponding function.
JVM internal name of the original class the lambda class for this function is copied from. This value is set for lambdas copied from bodies of inline functions to the use site by the Kotlin compiler.
Represents modality of the corresponding function.
Type of the receiver of the function, if this is an extension function.
Return type of the function.
JVM signature of the function, or null if the JVM signature of this function is unknown.
Type parameters of the function.
Value parameters of the function.
Version requirements on the function.
Represents visibility of the corresponding function.