mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 00:50:53 +07:00
18 lines
343 B
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(){};
|
|
|
|
} |