aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/after-delombok/WitherWithGenerics.java
diff options
context:
space:
mode:
Diffstat (limited to 'test/transform/resource/after-delombok/WitherWithGenerics.java')
-rw-r--r--test/transform/resource/after-delombok/WitherWithGenerics.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/transform/resource/after-delombok/WitherWithGenerics.java b/test/transform/resource/after-delombok/WitherWithGenerics.java
new file mode 100644
index 00000000..9630c792
--- /dev/null
+++ b/test/transform/resource/after-delombok/WitherWithGenerics.java
@@ -0,0 +1,15 @@
+class WitherWithGenerics<T, J extends T, L extends java.lang.Number> {
+ J test;
+ java.util.List<L> test2;
+ int $i;
+ public WitherWithGenerics(J test, java.util.List<L> test2) {
+ }
+ @java.lang.SuppressWarnings("all")
+ public WitherWithGenerics<T, J, L> withTest(final J test) {
+ return this.test == test ? this : new WitherWithGenerics<T, J, L>(test, this.test2);
+ }
+ @java.lang.SuppressWarnings("all")
+ public WitherWithGenerics<T, J, L> withTest2(final java.util.List<L> test2) {
+ return this.test2 == test2 ? this : new WitherWithGenerics<T, J, L>(this.test, test2);
+ }
+}