From 1e64f45b953b7e76c4fc143c8c35c3aae36437d6 Mon Sep 17 00:00:00 2001 From: Sander Koning Date: Mon, 27 Feb 2012 20:24:13 +0100 Subject: Fix note on @Getter wrt hasX fields: prefix is actually generated (conforming to beanspec) --- website/features/GetterSetter.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'website/features') diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 2d3b4efa..159aa525 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -52,8 +52,7 @@ will not be generated if there's already a method getFoo(int x) even though it is technically possible to make the method. This caveat exists to prevent confusion. If the generation of a method is skipped for this reason, a warning is emitted instead.

- For boolean fields that start with is or has immediately followed by a title-case letter, nothing is prefixed - to generate the getter name. + For boolean fields that start with is immediately followed by a title-case letter, nothing is prefixed to generate the getter name.

Any variation on boolean will not result in using the is prefix instead of the get prefix; for example, returning java.lang.Boolean results in a get prefix, not an is prefix. -- cgit