Files
openide/java/java-tests/testData/refactoring/moveInstanceMethod/Interface.java.after
Dmitry Jemerov d1b91105a2 test++
2009-09-10 20:03:37 +04:00

18 lines
265 B
Plaintext

interface Foreign {
void foo(Test1 test1);
}
class ForeignImpl implements Foreign {
public void foo(Test1 test1) {
test1.field++;
}
}
public abstract class Test1 {
int field;
void bar () {
new ForeignImpl().foo(this);
}
}