Files
openide/java/java-tests/testData/refactoring/convertToInstanceMethod/Simple.java
Dmitry Jemerov b43c03ca2f moving tests
2009-09-10 19:49:38 +04:00

16 lines
232 B
Java

public class Y {
public void foo() {
}
}
public class X {
static void <caret>method(Y y) {
System.out.println(y);
y.foo();
}
{
Y y = new Y();
method(y);
method(new Y());
}
}