Move: Search Java usages when top-level declaration moves to new facade

#KT-22747 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-19 15:32:35 +03:00
parent 91fdc0e967
commit a341392524
9 changed files with 64 additions and 9 deletions
@@ -0,0 +1,7 @@
package test;
public class Test {
public static void main(String[] args) {
BarKt.foo();
}
}
@@ -0,0 +1,7 @@
package test;
public class Test {
public static void main(String[] args) {
FooKt.foo();
}
}
@@ -0,0 +1,3 @@
package test
fun <caret>foo() {}
@@ -0,0 +1,5 @@
{
"mainFile": "source/foo.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetFile": "source/bar.kt"
}