JvmName

Common
1.0
@Target([AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) annotation class JvmName
JVM
1.0
@Target([AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE]) annotation class JvmName

Specifies the name for the Java class or method which is generated from this element.

See the Kotlin language documentation for more information.

Constructors

Common
JVM
1.0

<init>

Specifies the name for the Java class or method which is generated from this element.

<init>(name: String)

Properties

Common
JVM
1.0

name

the name of the element.

val name: String