Files
kotlin/compiler/testData/compileJavaAgainstKotlin/class/ClassObject.kt

25 lines
355 B
Kotlin

class WithClassObject {
class object {
fun foo() {}
val value: Int = 0
val valueWithGetter: Int
get() = 1
var variable: Int = 0
var variableWithAccessors: Int
get() = 0
set(v) {}
}
class MyInner {
fun foo() {}
val value: Int = 0
}
}
object PackageInner {
fun foo() {}
val value: Int = 0
}