mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
23 lines
364 B
Kotlin
Vendored
23 lines
364 B
Kotlin
Vendored
class Klass {
|
|
companion object {
|
|
const val NAME = "Klass"
|
|
@JvmField val JVM_NAME = "JvmKlass"
|
|
}
|
|
}
|
|
|
|
interface Trait {
|
|
companion object {
|
|
const val NAME = "Trait"
|
|
}
|
|
}
|
|
|
|
enum class Enoom {
|
|
;
|
|
companion object {
|
|
const val NAME = "Enum"
|
|
@JvmField val JVM_NAME = "JvmEnum"
|
|
}
|
|
}
|
|
|
|
fun box() = Test().test()
|