Copy/Move: Fix processing of imported Java static members
#KT-18098 Fixed
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "foo/test.kt",
|
||||
"targetPackage": "foo",
|
||||
"newName": "test2"
|
||||
}
|
||||
Reference in New Issue
Block a user