move method: remove qualifier after calls corrections

This commit is contained in:
anna
2010-01-18 17:34:23 +03:00
parent f074aebd25
commit b06e294172
6 changed files with 69 additions and 1 deletions

View File

@@ -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);
}
}

View File

@@ -0,0 +1,14 @@
public class A {
}
class B {
void foo(String s) {
System.out.println(s);
}
void foo() {
foo("");
}
}

View File

@@ -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);
}
}

View File

@@ -0,0 +1,17 @@
public class A {
}
class B {
void foo(String s) {
System.out.println(s);
}
void foo() {
foo("");
if (false) {
foo();
}
}
}