aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/Builder.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2018-09-18 01:40:32 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2018-09-18 01:40:32 +0200
commitaee4e76d864e01b5d453409e703ad54852fa57bb (patch)
tree98e00ec3d53c03a492d0c8b3d3af678167cbbddc /website/templates/features/Builder.html
parent9198551defb7dd71d872c7b86af0a3f0bf0ec545 (diff)
downloadlombok-aee4e76d864e01b5d453409e703ad54852fa57bb.tar.gz
lombok-aee4e76d864e01b5d453409e703ad54852fa57bb.tar.bz2
lombok-aee4e76d864e01b5d453409e703ad54852fa57bb.zip
updated docs to reflect change to copyable annotations
Diffstat (limited to 'website/templates/features/Builder.html')
-rw-r--r--website/templates/features/Builder.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/templates/features/Builder.html b/website/templates/features/Builder.html
index bc03749e..793c7b54 100644
--- a/website/templates/features/Builder.html
+++ b/website/templates/features/Builder.html
@@ -181,6 +181,8 @@ public class JacksonExample {
With <code>toBuilder = true</code> applied to methods, any type parameter of the annotated method itself must also show up in the return type.
</p><p>
The initializer on a <code>@Builder.Default</code> field is removed and stored in a static method, in order to guarantee that this initializer won't be executed at all if a value is specified in the build. This does mean the initializer cannot refer to <code>this</code>, <code>super</code> or any non-static member. If lombok generates a constructor for you, it'll also initialize this field with the initializer.
+ </p><p>
+ Various well known annotations about nullity cause null checks to be inserted and will be copied to parameter of the builder's 'setter' method. See <a href="/features/GetterSetter">Getter/Setter</a> documentation's small print for more information.
</p>
</@f.smallPrint>
</@f.scaffold>