mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 07:20:53 +07:00
16 lines
237 B
Java
16 lines
237 B
Java
|
|
import java.util.List;
|
|
|
|
class Main {
|
|
static List<? extends Child> foo() {
|
|
return get ();
|
|
}
|
|
|
|
static <T extends Base> List<? extends T> get() {
|
|
return null;
|
|
}
|
|
|
|
static class Base {}
|
|
static class Child extends Base {}
|
|
}
|