mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
deep delete parameter in method call hierarchy
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo(int i) {
|
||||
bar(i);
|
||||
bar(i);
|
||||
}
|
||||
|
||||
void bar(int <caret>i){}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
void foo() {
|
||||
bar();
|
||||
bar();
|
||||
}
|
||||
|
||||
void bar(){}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
void foo(int i) {
|
||||
bar(i);
|
||||
baz(i);
|
||||
}
|
||||
|
||||
void bar(int <caret>i){}
|
||||
void baz(int i){}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
void foo(int i) {
|
||||
bar();
|
||||
baz(i);
|
||||
}
|
||||
|
||||
void bar(){}
|
||||
void baz(int i){}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
void foo(int i);
|
||||
}
|
||||
class Test implements I {
|
||||
public void foo(int i) {
|
||||
bar(i);
|
||||
bar(i);
|
||||
}
|
||||
|
||||
void bar(int <caret>i){}
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
interface I {
|
||||
void foo(int i);
|
||||
}
|
||||
class Test implements I {
|
||||
public void foo(int i) {
|
||||
bar();
|
||||
bar();
|
||||
}
|
||||
|
||||
void bar(){}
|
||||
}
|
||||
Reference in New Issue
Block a user