mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-22 14:50:53 +07:00
12 lines
222 B
Java
12 lines
222 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class C {
|
|
void foo(Object o) {
|
|
newMethod().run();
|
|
}
|
|
|
|
@NotNull
|
|
private Runnable newMethod() {
|
|
return (Runnable)(() -> System.out.println());
|
|
}
|
|
} |