W3cubDocs

/Kotlin

JvmName

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

Platform and version requirements: JVM

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>

JvmName(name: String)

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

Properties

name

val name: String

the name of the element.

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