mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
10 lines
197 B
Java
10 lines
197 B
Java
class Main {
|
|
void foo() throws NoSuchMethodException {
|
|
clazz().getMethod("method");
|
|
}
|
|
private Class<? extends Test> clazz() {return Test.class;}
|
|
}
|
|
|
|
class Test {
|
|
public void method(){}
|
|
} |