JvmName
@Target
(
[AnnotationTarget.FILE, AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER]
)
annotation
class
JvmName
(source)
@Target
(
[AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE]
)
annotation
class
JvmName
(source)
Specifies the name for the Java class or method which is generated from this element.
See the Kotlin language documentation for more information.
Constructors
<init>
Specifies the name for the Java class or method which is generated from this element.
<init>
(
name
:
String
)
Properties
name
the name of the element.
val
name
:
String
Extension Properties
annotationClass
Returns a KClass instance corresponding to the annotation type of this annotation.
val
<
T
:
Annotation
>
T
.
annotationClass
:
KClass
<
out
T
>