mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 15:27:45 +07:00
capture wildcard for getClass calls
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
import java.lang.reflect.*;
|
||||
|
||||
class Example {
|
||||
private void demo() {
|
||||
<error descr="Cannot resolve symbol 'TypeVariable'">TypeVariable</error><Class<? extends Example>>[] typeParameters = getClass().getTypeParameters();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user