correcty find Java usages of static methods generated for companion object members annotated as jvmStatic
#KT-8902 Fixed
This commit is contained in:
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package testing.rename
|
||||
|
||||
public open class C {
|
||||
companion object {
|
||||
jvmStatic fun second() {}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.C;
|
||||
|
||||
class JavaClient {
|
||||
public void foo() {
|
||||
C.second();
|
||||
}
|
||||
}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package testing.rename
|
||||
|
||||
public open class C {
|
||||
companion object {
|
||||
jvmStatic fun first() {}
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.C;
|
||||
|
||||
class JavaClient {
|
||||
public void foo() {
|
||||
C.first();
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"type": "KOTLIN_FUNCTION",
|
||||
"classId": "testing/rename/C.Companion",
|
||||
"oldName": "first",
|
||||
"newName": "second",
|
||||
"withRuntime": "true"
|
||||
}
|
||||
Reference in New Issue
Block a user