JvmName

@Target(allowedTargets = [AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER])
expect annotation class JvmName(val name: String)(source)

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

See the Kotlin language documentation for more information.

@Target(allowedTargets = [AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE])
actual annotation class JvmName(val name: String)

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

See the Kotlin language documentation for more information.

Properties

Link copied to clipboard
expect val name: String

the name of the element.

actual val name: String

the name of the element.