update Java references to file class when a file is renamed

This commit is contained in:
Dmitry Jemerov
2015-09-11 20:44:42 +02:00
parent ab58dc3586
commit 35de13a6b2
12 changed files with 113 additions and 2 deletions
@@ -0,0 +1,3 @@
package testing.rename
var foo: String = "xyzzy"
@@ -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"
@@ -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"
}