mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-27 22:20:54 +07:00
12 lines
187 B
Java
12 lines
187 B
Java
class C {
|
|
interface Simplest {
|
|
void m();
|
|
}
|
|
void simplest() { }
|
|
void use(Simplest s) { }
|
|
|
|
void test() {
|
|
Simplest simplest = this::simplest;
|
|
use(this::simplest);
|
|
}
|
|
} |