mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-25 10:51:06 +07:00
21 lines
348 B
Java
21 lines
348 B
Java
package pck;
|
|
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
|
|
import static pck.D.foo;
|
|
import static pck.C.foo;
|
|
|
|
class C {
|
|
static <T extends Collection<S>, S> void foo(T x) { }
|
|
}
|
|
|
|
class D {
|
|
static <T extends List<S>, S> String foo(T x) { return null; }
|
|
}
|
|
|
|
class B{
|
|
public static void bar(){
|
|
foo(null).toLowerCase();
|
|
}
|
|
} |