diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 00:19:28 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-01 00:19:28 +0200 |
commit | cb091204f4bfc7f9971fc296903f7bc2a163f085 (patch) | |
tree | 270381198a678b4380be43f7bf142af6dd966e8f /website/features/GetterSetter.html | |
parent | 72cc800fd0c3e122a71a42536d5ced5297d6fa4e (diff) | |
download | lombok-cb091204f4bfc7f9971fc296903f7bc2a163f085.tar.gz lombok-cb091204f4bfc7f9971fc296903f7bc2a163f085.tar.bz2 lombok-cb091204f4bfc7f9971fc296903f7bc2a163f085.zip |
Fixed documentation, specifically: added eclipse help system fix to the changelog, and added some documentation on the special handling of @NonNull/@NotNull/@Nullable for Data and Getter/Setter on the website docs.
Diffstat (limited to 'website/features/GetterSetter.html')
-rw-r--r-- | website/features/GetterSetter.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 2ad0f1ec..618a6b0a 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -51,6 +51,10 @@ </p><p> 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> 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>) are copied to setter parameter and getter method </p> </div> </div> |