Represents a parameter passed to a function or a property getter/setter, including this
and extension receiver parameters.
true
if this parameter is optional and can be omitted when making a call via KCallable.callBy, or false
otherwise.
true
if this parameter is vararg
. See the Kotlin language documentation for more information.
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.
Returns true if this element is annotated with an annotation of type T.
© 2010–2019 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-parameter/index.html