KParameter
Represents a parameter passed to a function or a property getter/setter, including this
and extension receiver parameters.
Since Kotlin
1.0Types
Properties
Link copied to clipboard
Annotations which are present on this element.
Since Kotlin 1.0
Link copied to clipboard
true
if this parameter is optional and can be omitted when making a call via KCallable.callBy, or false
otherwise.
Since Kotlin 1.0
Link copied to clipboard
Link copied to clipboard
Name of this parameter as it was declared in the source code, or null
if the parameter has no name or its name is not available at runtime. Examples of nameless parameters include this
instance for member functions, extension receiver for extension functions or properties, parameters of Java methods compiled without the debug information, and others.
Since Kotlin 1.0