mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
22 lines
309 B
Kotlin
Vendored
22 lines
309 B
Kotlin
Vendored
class Klass {
|
|
companion object {
|
|
val NAME = "Klass"
|
|
}
|
|
}
|
|
|
|
interface Trait {
|
|
companion object {
|
|
const val NAME = "Trait"
|
|
val DEPRECATED = "DEPRECATED"
|
|
}
|
|
}
|
|
|
|
enum class Enoom {
|
|
;
|
|
companion object {
|
|
const val NAME = "Enum"
|
|
}
|
|
}
|
|
|
|
fun box() = Test().test()
|