diff options
author | Roel Spilker <r.spilker@gmail.com> | 2017-12-12 01:03:51 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2017-12-12 01:04:20 +0100 |
commit | f2530ab37efecf60e9ed1df2ed232822df209e4e (patch) | |
tree | a347b1fd2e923b4b4faf56e6dfe5c1a20eb93555 /test/transform/resource/before/BuilderDefaultsGenerics.java | |
parent | 0232d99ba646313505536a0663952e9e94340022 (diff) | |
download | lombok-f2530ab37efecf60e9ed1df2ed232822df209e4e.tar.gz lombok-f2530ab37efecf60e9ed1df2ed232822df209e4e.tar.bz2 lombok-f2530ab37efecf60e9ed1df2ed232822df209e4e.zip |
handle @Builder.Default on generic fields. Fixes #1527
Diffstat (limited to 'test/transform/resource/before/BuilderDefaultsGenerics.java')
-rw-r--r-- | test/transform/resource/before/BuilderDefaultsGenerics.java | 9 |
1 files changed, 9 insertions, 0 deletions
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<N extends Number, T, R extends List<T>> { + @Builder.Default private java.util.concurrent.Callable<N> callable = null; + @Builder.Default private T tee = null; + @Builder.Default private R arrr = null; +} |