From 8ec7abf996ba1089104f5d56cc417b17dcadca5f Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 16 Feb 2017 22:16:34 +0100 Subject: Reproduces the bug with recursive generics in builder (issue #1298). --- .../knownBroken/before/I1298BuilderWithGenerics.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 test/transform/knownBroken/before/I1298BuilderWithGenerics.java (limited to 'test/transform/knownBroken/before/I1298BuilderWithGenerics.java') diff --git a/test/transform/knownBroken/before/I1298BuilderWithGenerics.java b/test/transform/knownBroken/before/I1298BuilderWithGenerics.java new file mode 100644 index 00000000..af154d42 --- /dev/null +++ b/test/transform/knownBroken/before/I1298BuilderWithGenerics.java @@ -0,0 +1,15 @@ +import java.util.Set; +import lombok.Builder; +import lombok.Value; + +public class I1298BuilderWithGenerics { + interface Inter> {} + + @Builder @Value public static class Test< + Foo, + Bar extends Set, + Quz extends Inter> { + Foo foo; + Bar bar; + } +} -- cgit