import kotlin.reflect.* var x: Int = 42 val y: String get() = "y" fun testX() { val xx = ::x xx : KMutableTopLevelProperty xx : KMutableTopLevelVariable xx : KTopLevelProperty xx : KTopLevelVariable xx : KMutableProperty xx : KMutableVariable xx : KProperty xx : KCallable xx.name : String xx.get() : Int xx.set(239) } fun testY() { val yy = ::y yy : KMutableTopLevelProperty yy : KTopLevelVariable yy : KMutableProperty yy : KProperty yy : KCallable yy.name : String yy.get() : String yy.set("yy") }