advHighlighting -> light test case

This commit is contained in:
Anna.Kozlova
2019-01-02 16:35:41 +01:00
parent 7c76bbbbb7
commit 2e7f05efd0
57 changed files with 201 additions and 278 deletions
@@ -0,0 +1,26 @@
package pck;
import java.util.List;
import static pck.C.foo;
import static pck.C.foo1;
import static pck.D.foo;
import static pck.D.foo1;
class C {
static <T> void foo(List<T> x) { }
static <T extends List> void foo1(List<T> x) { }
}
class D {
static <T extends List<S>, S> String foo(List<T> x) { return null; }
static <T extends List<?>, S> String foo1(List<T> x) { return null; }
}
class Main {
public static void main(String[] args){
List<List<String>> x = null;
foo(x).toCharArray();
foo1(x).toCharArray();
}
}