From 642dad3f0c13a8a900aac21fe26e1eb672fbb5a6 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Fri, 17 Jul 2009 21:25:36 +0200 Subject: Very minor typos in Data/GetterSetter, added an index page for the features overview, and increased transparancy on the pepper background. --- website/features/GetterSetter.html | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'website/features/GetterSetter.html') diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 9840d3ba..e865cfff 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -20,9 +20,23 @@ if the field's type is boolean). A default setter is named setFoo if the field is called foo, returns void, and takes 1 parameter of the same type as the field. It simply sets the field to this value.

- The generated getter/setter method will be public unless you explicitly specify an AccessLevel, as shown in the example below. + The generated getter/setter method will be public unless you explicitly specify an AccessLevel, as shown in the example above. Legal access levels are PUBLIC, PROTECTED, PACKAGE, and PRIVATE.

+ +
+
+

With Lombok

+
@HTML_PRE@
+
+
+
+

Vanilla Java

+
@HTML_POST@
+
+
+
+

Small print

For generating the method names, the first character of the field, if it is a lowercase character, is title-cased, otherwise, it is left unmodified. @@ -37,19 +51,8 @@

-
-
-

With Lombok

-
@HTML_PRE@
-
-
-
-

Vanilla Java

-
@HTML_POST@
-
-
-- cgit