diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-03-25 23:11:48 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2019-03-25 23:11:48 +0100 |
commit | 228e99fe5203e92c7297325fec69a82abc1a4bd7 (patch) | |
tree | d3176a94f672a58f9c9927d812d048323080f363 /test/transform/resource/before/BuilderWithNoBuilderMethod.java | |
parent | 535e20972c56e65b598df0d0849a25daa7a69e8d (diff) | |
download | lombok-228e99fe5203e92c7297325fec69a82abc1a4bd7.tar.gz lombok-228e99fe5203e92c7297325fec69a82abc1a4bd7.tar.bz2 lombok-228e99fe5203e92c7297325fec69a82abc1a4bd7.zip |
[fixes #2046] you can now suppress the builder() method, useful if you only want toBuilder(). Also suppresses the warnings about any missing Builder.Default annotations.
Diffstat (limited to 'test/transform/resource/before/BuilderWithNoBuilderMethod.java')
-rw-r--r-- | test/transform/resource/before/BuilderWithNoBuilderMethod.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/transform/resource/before/BuilderWithNoBuilderMethod.java b/test/transform/resource/before/BuilderWithNoBuilderMethod.java new file mode 100644 index 00000000..3f2b21ac --- /dev/null +++ b/test/transform/resource/before/BuilderWithNoBuilderMethod.java @@ -0,0 +1,5 @@ +import lombok.Builder; +@Builder(toBuilder = true, builderMethodName = "") +class BuilderWithNoBuilderMethod { + private String a = ""; +} |