diff options
author | peichhorn <peichhor@web.de> | 2011-09-05 21:53:58 +0200 |
---|---|---|
committer | peichhorn <peichhor@web.de> | 2011-09-05 21:53:58 +0200 |
commit | 236c88fc5cb2444af353bec6370b43b915ed8fdb (patch) | |
tree | f83feee5039b8963d9605ab2d12ded91b9d3e557 /website | |
parent | 25fbdf0c5bf1e287d4a705126d0d46a1437e7674 (diff) | |
download | lombok-236c88fc5cb2444af353bec6370b43b915ed8fdb.tar.gz lombok-236c88fc5cb2444af353bec6370b43b915ed8fdb.tar.bz2 lombok-236c88fc5cb2444af353bec6370b43b915ed8fdb.zip |
fixed Issue 271: @NotNull annotations should introduce a null check
Diffstat (limited to 'website')
-rw-r--r-- | website/features/GetterSetter.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 3e3530ef..51a1f514 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -58,7 +58,7 @@ Any variation on <code>boolean</code> will <em>not</em> result in using the <code>is</code> prefix instead of the <code>get</code> prefix; for example, returning <code>java.lang.Boolean</code> results in a <code>get</code> prefix, not an <code>is</code> prefix. </p><p> - Any annotations named <code>@NonNull</code> (case insensitive) on the field are interpreted as: This field must not ever hold + Any annotations named <code>@NonNull</code> or <code>@NotNull</code> (case insensitive) on the field are interpreted as: This field must not ever hold <em>null</em>. Therefore, these annotations result in an explicit null check in the generated setter. Also, these annotations (as well as any annotation named <code>@Nullable</code> or <code>@CheckForNull</code>) are copied to setter parameter and getter method. </p><p> |