JvmRecord

Common
JVM
1.5
@Target ( [AnnotationTarget.CLASS] ) annotation class JvmRecord
(Common source) (JVM source)

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

Constructors

Common
JVM
1.0

<init>

Instructs compiler to mark the class as a record and generate relevant toString/equals/hashCode methods

<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 >