Fixing issue #1201: Builder now supports defaults!

This commit is contained in:
Reinier Zwitserloot committed 2017-03-20 22:54:36 +01:00
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;').