blob: fdb30d3273ecc932d70d45bf534b8894d3e73a58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// version :9
import lombok.val;
public class ValWithSelfRefGenerics {
public void run(Thing<? extends Comparable<?>> thing, Thing<?> thing2, java.util.List<? extends Number> z) {
val y = z;
val x = thing;
val w = thing2;
val v = thing2.get();
}
}
class Thing<T extends Comparable<? super T>> {
public T get() {
return null;
}
}
|