mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-05 16:36:56 +07:00
26 lines
248 B
Plaintext
26 lines
248 B
Plaintext
|
|
class Bar {
|
|
void foo() {
|
|
}
|
|
|
|
void m(){
|
|
foo();
|
|
}
|
|
|
|
{
|
|
Runnable r = this::foo;
|
|
}
|
|
|
|
static {
|
|
Runnable r = new Bar()::foo;
|
|
}
|
|
}
|
|
|
|
class Bar1 {
|
|
void m() {
|
|
new Bar().foo();
|
|
}
|
|
{
|
|
Runnable r = new Bar()::foo;
|
|
}
|
|
} |