Searching for property accessors, too.

This commit is contained in:
Evgeny Gerashchenko
2015-01-19 16:25:05 +03:00
parent 8fd5e72632
commit b0e2afc8cb
3 changed files with 32 additions and 5 deletions
@@ -0,0 +1,12 @@
package test;
import foo.FooPackage;
import foo.Obj;
class usedInJava {
public static void main(String[] args) {
FooPackage.getUsedByGetter();
FooPackage.setUsedBySetter(":|");
System.out.println(Obj.CONST);
}
}
@@ -0,0 +1,8 @@
package foo
val usedByGetter = ":)"
var usedBySetter = ":)"
object Obj {
val CONST = ":)"
}