package pck; | |
import java.util.List; | |
import static pck.C.foo; | |
import static pck.D.foo; | |
class C { | |
static <T> void foo(List<T> x) { } | |
} | |
class D { | |
static <T extends List<?>> String foo(List<T> x) { return null; } | |
} | |
class Main { | |
public static void main(String[] args){ | |
List<List<String>> x = null; | |
foo(x).toCharArray(); | |
} | |
} |