From f2530ab37efecf60e9ed1df2ed232822df209e4e Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Tue, 12 Dec 2017 01:03:51 +0100 Subject: handle @Builder.Default on generic fields. Fixes #1527 --- test/transform/resource/before/BuilderDefaultsGenerics.java | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/transform/resource/before/BuilderDefaultsGenerics.java (limited to 'test/transform/resource/before/BuilderDefaultsGenerics.java') diff --git a/test/transform/resource/before/BuilderDefaultsGenerics.java b/test/transform/resource/before/BuilderDefaultsGenerics.java new file mode 100644 index 00000000..fffc9739 --- /dev/null +++ b/test/transform/resource/before/BuilderDefaultsGenerics.java @@ -0,0 +1,9 @@ +import lombok.Builder; +import java.util.*; + +@Builder +public class BuilderDefaultsGenerics> { + @Builder.Default private java.util.concurrent.Callable callable = null; + @Builder.Default private T tee = null; + @Builder.Default private R arrr = null; +} -- cgit