ParameterName

Common
JVM
JS
Native
1.1
@Target([AnnotationTarget.TYPE]) annotation class ParameterName
(Common source) (Native source)

Annotates type arguments of functional type and holds corresponding parameter name specified by the user in type declaration (if any).

Constructors

Common
JVM
JS
Native
1.0

<init>

Annotates type arguments of functional type and holds corresponding parameter name specified by the user in type declaration (if any).

<init>(name: String)

Properties

Common
JVM
JS
Native
1.0

name

val name: String

Extension Properties

JVM
1.0

annotationClass

Returns a KClass instance corresponding to the annotation type of this annotation.

val <T : Annotation> T.annotationClass: KClass<out T>