mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
22 lines
318 B
Java
22 lines
318 B
Java
class Test {
|
|
public static void main(String... args) {}
|
|
void test() {
|
|
Foo foo = Test::main;
|
|
}
|
|
}
|
|
|
|
interface Foo {
|
|
void bar();
|
|
}
|
|
|
|
class Test1 {
|
|
public static void main(String... args) {}
|
|
|
|
void test() {
|
|
Foo1 foo = Test1::main;
|
|
}
|
|
}
|
|
|
|
interface Foo1 {
|
|
void bar(String... s);
|
|
} |