aboutsummaryrefslogtreecommitdiff
path: root/test/transform/resource/before
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-25 23:11:48 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-25 23:11:48 +0100
commit228e99fe5203e92c7297325fec69a82abc1a4bd7 (patch)
treed3176a94f672a58f9c9927d812d048323080f363 /test/transform/resource/before
parent535e20972c56e65b598df0d0849a25daa7a69e8d (diff)
downloadlombok-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')
-rw-r--r--test/transform/resource/before/BuilderWithNoBuilderMethod.java5
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 = "";
+}