mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-21 21:50:54 +07:00
15 lines
225 B
Java
15 lines
225 B
Java
public class Sample {
|
|
|
|
public int field = lambda(() -> {
|
|
newMethod();
|
|
});
|
|
|
|
private void newMethod() {
|
|
Sample variable = new Sample();
|
|
}
|
|
|
|
int lambda(Runnable r) {
|
|
return 42;
|
|
}
|
|
|
|
} |