JvmDefault
Deprecated: Switch to new -Xjvm-default modes: `all` or `all-compatibility`
Specifies that a JVM default method should be generated for non-abstract Kotlin interface member.
This annotation can no longer be used. It has been superseded by the new -Xjvm-default
modes all
and all-compatibility
,
and the new annotations @JvmDefaultWithCompatibility
and @JvmDefaultWithoutCompatibility
.
Constructors
<init>
Specifies that a JVM default method should be generated for non-abstract Kotlin interface member.
JvmDefault()
Extension Properties
annotationClass
Returns a KClass instance corresponding to the annotation type of this annotation.
val <T : Annotation> T.annotationClass: KClass<out T>