when renaming a companion object, filter out references to companion object via its containing class, which shouldn't be updated by the rename
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
class JavaUsage {
|
||||
public static void main(String[] args) {
|
||||
System.out.println(Foo.CONST);
|
||||
Foo.s();
|
||||
Foo.Bar.f();
|
||||
Foo foo = new Foo(); // not usage of companion object
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user