mirror of
https://github.com/tiennm99/lombok.git
synced 2026-09-17 22:21:23 +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:
@@ -0,0 +1,5 @@
|
||||
import lombok.Builder;
|
||||
@Builder(toBuilder = true, builderMethodName = "")
|
||||
class BuilderWithNoBuilderMethod {
|
||||
private String a = "";
|
||||
}
|
||||
Reference in New Issue
Block a user