Change signature does not make doubled refactoring for java usages
Fixed #KT-22170
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun fooStatic(second: Int, first: String) { }
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public class JavaTest {
|
||||
public static void test() {
|
||||
Test.Companion.fooStatic(2, "First");
|
||||
Test.fooStatic(2, "First");
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
companion object {
|
||||
@JvmStatic
|
||||
fun fooStatic(first: String, second: Int) { }
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
public class JavaTest {
|
||||
public static void test() {
|
||||
Test.Companion.<caret>fooStatic("First", 2);
|
||||
Test.fooStatic("First", 2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user