Files
openide/java/java-tests/testData/refactoring/extractMethod/SCR15815_after.java

18 lines
343 B
Java

import org.jetbrains.annotations.NotNull;
public class Foo {
static Foo
f1 = new Foo(){
public String toString() {
return newMethod();
}
};
@NotNull
private static String newMethod() {
return "a" + "b";
}
static Foo f2 = new Foo(){};
}