mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-02 14:38:30 +07:00
GitOrigin-RevId: 81b2e38494d7792dfe3ec13703851e4eb1539e71
26 lines
242 B
Plaintext
26 lines
242 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;
|
|
}
|
|
} |