[trivial] update javadoc on Builder.java

This commit is contained in:
inherithandle authored and Roel Spilker committed 2020-07-24 00:06:41 +02:00
1 parent a0eb13a478
commit 19db4be6e9
1 file changed
+2 -2
+2 -2
View File
@@ -32,8 +32,8 @@ import java.lang.annotation.Target;
* that contains a member which is annotated with {@code @Builder}.
* <p>
* If a member is annotated, it must be either a constructor or a method. If a class is annotated,
* then a private constructor is generated with all fields as arguments
* (as if {@code @AllArgsConstructor(access = AccessLevel.PRIVATE)} is present
* then a package-private constructor is generated with all fields as arguments
* (as if {@code @AllArgsConstructor(access = AccessLevel.PACKAGE)} is present
* on the class), and it is as if this constructor has been annotated with {@code @Builder} instead.
* Note that this constructor is only generated if you haven't written any constructors and also haven't
* added any explicit {@code @XArgsConstructor} annotations. In those cases, lombok will assume an all-args