From d0116a8efe58c608b2001855d0cde92392ae9ca2 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Thu, 3 Sep 2009 02:28:30 +0200 Subject: Updated website features documentation for the new AnnotationLevel.NONE. --- website/features/Data.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'website/features/Data.html') 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; @Data is smart enough to defer to those annotations.

All generated getters and setters will be public. To override the access level, annotate the field with an explicit @Setter and/or - @Getter annotation. + @Getter annotation. You can also use this annotation (by combining it with AccessLevel.NONE) to suppress generating a getter and/or setter + altogether.

All fields marked as transient will not be considered for hashCode and equals. All static fields will be skipped entirely (not considered for any of the generated methods, and no setter/getter will be made for them). -- cgit