Change Signature: Process Kotlin-based usages when changing signature of the Java function
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
J("1")
|
||||
J("3")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class J {
|
||||
J(String s) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun test() {
|
||||
J("1", 2)
|
||||
J("3", 4)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class J {
|
||||
<caret>J(String s, int n) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import J.bar
|
||||
|
||||
fun test() {
|
||||
J.bar("1")
|
||||
J.bar("3")
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class J {
|
||||
static void bar(String s) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
import J.foo
|
||||
|
||||
fun test() {
|
||||
J.foo("1", 2)
|
||||
J.foo("3", 4)
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
class J {
|
||||
static void <caret>foo(String s, int n) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user