diff options
author | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-03 02:28:30 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@tipit.to> | 2009-09-03 02:28:30 +0200 |
commit | d0116a8efe58c608b2001855d0cde92392ae9ca2 (patch) | |
tree | 992a2a5bbaf029e0602c8b12127b97e8c668741e /website/features/Data.html | |
parent | 0b30a5695022649c0e9288b167fe15893e06887b (diff) | |
download | lombok-d0116a8efe58c608b2001855d0cde92392ae9ca2.tar.gz lombok-d0116a8efe58c608b2001855d0cde92392ae9ca2.tar.bz2 lombok-d0116a8efe58c608b2001855d0cde92392ae9ca2.zip |
Updated website features documentation for the new AnnotationLevel.NONE.
Diffstat (limited to 'website/features/Data.html')
-rw-r--r-- | website/features/Data.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/website/features/Data.html b/website/features/Data.html index 9babb9f9..594e3269 100644 --- a/website/features/Data.html +++ b/website/features/Data.html @@ -31,7 +31,8 @@ explicitly; <code>@Data</code> is smart enough to defer to those annotations. </p><p> All generated getters and setters will be <code>public</code>. To override the access level, annotate the field with an explicit <code>@Setter</code> and/or - <code>@Getter</code> annotation. + <code>@Getter</code> annotation. You can also use this annotation (by combining it with <code>AccessLevel.NONE</code>) to suppress generating a getter and/or setter + altogether. </p><p> All fields marked as <code>transient</code> will not be considered for <code>hashCode</code> and <code>equals</code>. All static fields will be skipped entirely (not considered for any of the generated methods, and no setter/getter will be made for them). |