import javaApi.Base class C : Base() { public fun f() { val other = Base() val value = other.property + property other.property = 1 property = other.property + value getBase(property).property = 0 } private fun getBase(i: Int): Base { return Base() } }