aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java
diff options
context:
space:
mode:
authorCaleb Brinkman <cbrinkman@sonatype.com>2019-09-12 11:27:08 -0500
committerCaleb Brinkman <cbrinkman@sonatype.com>2019-09-12 11:28:20 -0500
commit36287f2ff9ed2f809f8c1c76155919417ad04d3c (patch)
tree45f5e4da4216d95bf36935c699495a8850ae61b1 /test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java
parentcc070254a68331c2593c37359921854c74692661 (diff)
downloadlombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.tar.gz
lombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.tar.bz2
lombok-36287f2ff9ed2f809f8c1c76155919417ad04d3c.zip
Duplicate builder tests with setter prefix
Diffstat (limited to 'test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java')
-rw-r--r--test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java b/test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java
new file mode 100644
index 00000000..85129223
--- /dev/null
+++ b/test/transform/resource/before/BuilderWithRecursiveGenericsWithSetterPrefix.java
@@ -0,0 +1,13 @@
+//issue #1298
+import java.util.Set;
+import lombok.Builder;
+import lombok.Value;
+
+public class BuilderWithRecursiveGenerics {
+ interface Inter<T, U extends Inter<T, U>> {}
+
+ @Builder(setterPrefix = "with") @Value public static class Test<Foo, Bar extends Set<Foo>, Quz extends Inter<Bar, Quz>> {
+ Foo foo;
+ Bar bar;
+ }
+}