mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
type distinction tweak (IDEA-134960)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import java.util.Set;
|
||||
|
||||
abstract class Test {
|
||||
public <T> Set<java.lang.Class<? extends T>> getSubTypesOf(Class<T> type){
|
||||
return null;
|
||||
}
|
||||
|
||||
Set<Class<?>> foo(Class<?> interfaceClass){
|
||||
return (Set<Class<?>>)getSubTypesOf(interfaceClass);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user