mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-16 22:51:17 +07:00
move method: remove qualifier after calls corrections
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
public class A {
|
||||
void f<caret>oo(B b) {
|
||||
b.foo("");
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
void foo(String s) {
|
||||
System.out.println(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
public class A {
|
||||
}
|
||||
|
||||
class B {
|
||||
void foo(String s) {
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
foo("");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
public class A {
|
||||
void f<caret>oo(B b) {
|
||||
b.foo("");
|
||||
if (false) {
|
||||
foo(b);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
void foo(String s) {
|
||||
System.out.println(s);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
public class A {
|
||||
}
|
||||
|
||||
class B {
|
||||
void foo(String s) {
|
||||
System.out.println(s);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
foo("");
|
||||
if (false) {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user