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
Annotations on the function.
Compiler plugin metadata attached to this function, indexed by plugin ID.
Context parameters of the function.
Contract of the function.
Annotations on the extension receiver of the function, if this is an extension function.
Indicates that the corresponding function has at least one annotation in the JVM bytecode.
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.
Indicates whether the function was compiled with return value status information. This status may come from @MustUseReturnValues annotation on one of the containing scopes, or from -Xreturn-value-checker=full global compilation setting. See ReturnValueStatus for details.
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.