aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/Builder.java
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-25 23:40:29 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2019-03-26 01:25:18 +0100
commit33281d857891b24cb1c40233807620769a158bbf (patch)
tree2fff30e5f0e619c6c246af4adbecc2d148a26bd6 /src/core/lombok/Builder.java
parent5d4066ed48a092ad89cb9013bcb6958c093bc9e0 (diff)
downloadlombok-33281d857891b24cb1c40233807620769a158bbf.tar.gz
lombok-33281d857891b24cb1c40233807620769a158bbf.tar.bz2
lombok-33281d857891b24cb1c40233807620769a158bbf.zip
[#2046] Extend suppress builder feature to `@SuperBuilder`
Diffstat (limited to 'src/core/lombok/Builder.java')
-rw-r--r--src/core/lombok/Builder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/Builder.java b/src/core/lombok/Builder.java
index ea94eb4e..c83b3670 100644
--- a/src/core/lombok/Builder.java
+++ b/src/core/lombok/Builder.java
@@ -120,7 +120,7 @@ public @interface Builder {
@Retention(SOURCE)
public @interface Default {}
- /** @return Name of the method that creates a new builder instance. Default: {@code builder}. */
+ /** @return Name of the method that creates a new builder instance. Default: {@code builder}. If the empty string, suppress generating the {@code builder} method. */
String builderMethodName() default "builder";
/** @return Name of the method in the builder class that creates an instance of your {@code @Builder}-annotated class. */