mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-13 02:14:44 +00:00
[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.
This commit is contained in:
1 parent
535e20972c
commit
228e99fe52
8 files changed
+118
-7
No files matched your search
@@ -0,0 +1,5 @@
|
||||
import lombok.Builder;
|
||||
@Builder(toBuilder = true, builderMethodName = "")
|
||||
class BuilderWithNoBuilderMethod {
|
||||
private String a = "";
|
||||
}
|
||||
Reference in new issue
Block a user