aboutsummaryrefslogtreecommitdiff
path: root/website/templates/features/ToString.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-20 15:25:08 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2020-01-28 16:21:39 +0100
commite95680a76733c22ee5937a586ee50c703d5ba621 (patch)
tree3eaefce07c41760468c3c2a17c86297e2304a730 /website/templates/features/ToString.html
parentfa70b194aa7db62bdbc4cc759a606f97fe50fc92 (diff)
downloadlombok-e95680a76733c22ee5937a586ee50c703d5ba621.tar.gz
lombok-e95680a76733c22ee5937a586ee50c703d5ba621.tar.bz2
lombok-e95680a76733c22ee5937a586ee50c703d5ba621.zip
[issue #2221] [issue #788] Lombok now adds nullity annotations.
Which 'flavour' is defined in lombok.config; applied to toString, equals, canEqual, and plural-form of `@Singular`.
Diffstat (limited to 'website/templates/features/ToString.html')
-rw-r--r--website/templates/features/ToString.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/website/templates/features/ToString.html b/website/templates/features/ToString.html
index d2644629..456092d5 100644
--- a/website/templates/features/ToString.html
+++ b/website/templates/features/ToString.html
@@ -59,6 +59,8 @@
<code>@ToString(doNotUseGetters = true)</code>
</p><p>
<code>@ToString</code> can also be used on an enum definition.
+ </p><p>
+ If you have configured a nullity annotation flavour via <a href="configuration"><code>lombok.config</code></a> key <code>lombok.addNullAnnotations</code>, the method or return type (as appropriate for the chosen flavour) is annotated with a non-null annotation.
</p>
</@f.smallPrint>
</@f.scaffold>