mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 12:16:49 +00:00
Fixing issue #1201: Builder now supports defaults!
This commit is contained in:
1 parent
c63c152884
commit
bf54986e8a
21 files changed
+563
-72
No files matched your search
@@ -0,0 +1,3 @@
|
||||
5 @Builder will ignore the initializing expression entirely. If you want the initializing expression to serve as default, add @Builder.Default. if it is not supposed to be settable during building, add @Builder.Constant.
|
||||
7 @Builder.Default requires an initializing expression (' = something;').
|
||||
|
||||
Reference in new issue
Block a user