Files
openide/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java.after
Denis Zhdanov 3555c35a3a IDEA-54765 Code Style -> Order of Members should have extra items for statics
Refactoring-based class members manipulation is corrected
2010-05-11 15:57:10 +04:00

17 lines
219 B
Plaintext

public class Y {
void method() {
System.out.println(this);
foo();
}
public void foo() {
}
}
public class X {
{
Y y = new Y();
y.method();
new Y().method();
}
}