Copy/Move: Fix processing of imported Java static members

#KT-18098 Fixed
This commit is contained in:
Alexey Sedunov
2017-06-02 16:52:40 +03:00
parent a0629bfc58
commit 13212f06b4
14 changed files with 100 additions and 8 deletions
@@ -0,0 +1,7 @@
package foo;
public class J {
public static void jjj() {
}
}
@@ -0,0 +1,7 @@
package foo
import foo.J.jjj
fun test() {
jjj()
}
@@ -0,0 +1,5 @@
package foo
fun test2() {
J.jjj()
}
@@ -0,0 +1,7 @@
package foo;
public class J {
public static void jjj() {
}
}
@@ -0,0 +1,7 @@
package foo
import foo.J.jjj
fun <caret>test() {
jjj()
}
@@ -0,0 +1,5 @@
{
"mainFile": "foo/test.kt",
"targetPackage": "foo",
"newName": "test2"
}