Find Usages: Look for as-property usages of Java methods

This commit is contained in:
Alexey Sedunov
2015-10-21 12:44:59 +03:00
committed by Alexey Sedunov
parent 7e9222f70a
commit 9c360ef05a
34 changed files with 555 additions and 108 deletions
@@ -0,0 +1,25 @@
open class A {
open var p: Int = 1
}
class AA : A() {
override var p: Int = 1
}
class B : J() {
override var p: Int = 1
}
fun test() {
val t = A().p
A().p = 1
val t = AA().p
AA().p = 1
val t = J().p
J().p = 1
val t = B().p
B().p = 1
}