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