deep parameter delete: allow delete parameter when caller method has complex expression as argument

This commit is contained in:
Anna Kozlova
2015-01-15 10:25:51 +01:00
parent a9725caf48
commit 55e83bf6e5
4 changed files with 49 additions and 18 deletions
@@ -0,0 +1,8 @@
class Test {
void foo(String s) {
bar(s.length());
bar(s.length() + 1);
}
void bar(int <caret>i){}
}
@@ -0,0 +1,8 @@
class Test {
void foo() {
bar();
bar();
}
void bar(){}
}