mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-14 11:19:22 +07:00
15 lines
280 B
Java
15 lines
280 B
Java
class List<T>{
|
|
T get () {return null;}
|
|
}
|
|
|
|
class CaptureTest <T> {
|
|
private List<? extends List<T>> listOfSets;
|
|
|
|
private void foo() {
|
|
<ref>doGenericThing(listOfSets.get(0));
|
|
}
|
|
|
|
public <U> List<U> doGenericThing(List<U> set) {
|
|
return null;
|
|
}
|
|
} |