update Java references to file class when a file is renamed
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
package testing.rename
|
||||
|
||||
var foo: String = "xyzzy"
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.BarKt;
|
||||
|
||||
class JavaClient {
|
||||
public void foo() {
|
||||
String old = BarKt.getFoo();
|
||||
BarKt.setFoo(old + "new");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
package testing.rename
|
||||
|
||||
var foo: String = "xyzzy"
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.FooKt;
|
||||
|
||||
class JavaClient {
|
||||
public void foo() {
|
||||
String old = FooKt.getFoo();
|
||||
FooKt.setFoo(old + "new");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "FILE",
|
||||
"file": "Foo.kt",
|
||||
"newName": "Bar.kt"
|
||||
}
|
||||
Reference in New Issue
Block a user