Change Signature: Process Kotlin-based usages when changing signature of the Java function

This commit is contained in:
Alexey Sedunov
2014-11-20 18:18:46 +03:00
parent 18c10c9079
commit 591c409854
14 changed files with 250 additions and 13 deletions
@@ -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) {
}
}