mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-24 17:51:09 +07:00
12 lines
255 B
Java
12 lines
255 B
Java
import java.lang.invoke.*;
|
|
|
|
class Main {
|
|
void foo() throws Exception {
|
|
MethodHandles.Lookup l = MethodHandles.lookup();
|
|
l.findStatic(Test.class, "method", MethodType.methodType(void.class));
|
|
}
|
|
}
|
|
|
|
class Test {
|
|
public static void method() {}
|
|
} |