aboutsummaryrefslogtreecommitdiff
path: root/website2/templates/features/NonNull.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2017-01-06 01:21:28 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2017-05-29 21:01:53 +0200
commita24bf3194477a841c905827ef625e19b0fd53b2a (patch)
treee0cf9ef16bd9f8cac8b7953e193980beff9d733e /website2/templates/features/NonNull.html
parentbb85d799b3ba549c8a29afab0b246cb13b10507a (diff)
downloadlombok-a24bf3194477a841c905827ef625e19b0fd53b2a.tar.gz
lombok-a24bf3194477a841c905827ef625e19b0fd53b2a.tar.bz2
lombok-a24bf3194477a841c905827ef625e19b0fd53b2a.zip
feature pages updated and made more consistent.
Diffstat (limited to 'website2/templates/features/NonNull.html')
-rw-r--r--website2/templates/features/NonNull.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/website2/templates/features/NonNull.html b/website2/templates/features/NonNull.html
index 60879085..28d083d0 100644
--- a/website2/templates/features/NonNull.html
+++ b/website2/templates/features/NonNull.html
@@ -38,6 +38,8 @@
While <code>@Data</code> and other method-generating lombok annotations will trigger on any annotation named <code>@NonNull</code> regardless of casing or package name, this feature only triggers on lombok's own <code>@NonNull</code> annotation from the <code>lombok</code> package.
</p><p>
A <code>@NonNull</code> on a primitive parameter results in a warning. No null-check will be generated.
+ </p><p>
+ A <code>@NonNull</code> on a parameter of an abstract method used to generate a warning; starting with version 1.16.8, this is no longer the case, to acknowledge the notion that <code>@NonNull</code> also has a documentary role. For the same reason, you can annotate a method as <code>@NonNull</code>; this is allowed, generates no warning, and does not generate any code.
</p>
</@f.smallPrint>
</@f.scaffold>