JvmField

Common
JVM
1.0
@Target([AnnotationTarget.FIELD]) annotation class JvmField
(Common source) (JVM source)

Instructs the Kotlin compiler not to generate getters/setters for this property and expose it as a field.

See the Kotlin language documentation for more information.

Constructors

Common
JVM
1.0

<init>

Instructs the Kotlin compiler not to generate getters/setters for this property and expose it as a field.

<init>()

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>