JvmName

Platform and version requirements:
@Target([AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]) annotation class JvmName
Platform and version requirements: 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

Platform and version requirements: JVM (1.0)

<init>

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

<init>(name: String)

Properties

Platform and version requirements: JVM (1.0)

name

the name of the element.

val name: String

Extension Properties

Platform and version requirements: JVM (1.0)

annotationClass

Returns a KClass instance corresponding to the annotation type of this annotation.

val <T : Annotation> T.annotationClass: KClass<out T>

© 2010–2021 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm/-jvm-name/index.html