aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-ecj/ValWithSelfRefGenerics.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-ecj/ValWithSelfRefGenerics.java')
-rw-r--r--test/transform/resource/after-ecj/ValWithSelfRefGenerics.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/transform/resource/after-ecj/ValWithSelfRefGenerics.java b/test/transform/resource/after-ecj/ValWithSelfRefGenerics.java
new file mode 100644
index 00000000..3984e203
--- /dev/null
+++ b/test/transform/resource/after-ecj/ValWithSelfRefGenerics.java
@@ -0,0 +1,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;
+ }
+} \ No newline at end of file