move instance method: do not break visitor - postpone whole expr replacement (IDEA-84207)

This commit is contained in:
anna
2012-04-06 18:06:20 +02:00
parent a144726c76
commit 6482929c2d
4 changed files with 58 additions and 3 deletions
@@ -0,0 +1,24 @@
class A {
void n(B b) {
m(b);
}
void m<caret>(B b) {
System.out.print("display for me the shape" + this + " " + b.getI() + "times");
}
}
class B {
private final int i;
public B(int i) {
this.i = i;
}
public int getI() {
return i;
}
}