Change Signature: Process internal usages of function parameters when

performing Java refactoring
This commit is contained in:
Alexey Sedunov
2015-07-01 17:16:33 +03:00
parent 5c60a1bdb8
commit 0169963a27
10 changed files with 183 additions and 14 deletions
@@ -0,0 +1,25 @@
import java.lang.Override;
import java.lang.String;
class A {
int <caret>foo(String s) {
return s.length() * 2;
}
}
class B extends A {
@Override
int foo(String s) {
return super.foo(s + "_");
}
}
class Test {
void test() {
new A().foo("");
new B().foo("");
new X().foo("");
new Y().foo("");
new Z().foo("");
}
}