From 86acfadf552be04499c22de4531cc473e26372c5 Mon Sep 17 00:00:00 2001
From: Roel Spilker
- Attempting to exclude fields that don't exist or would have been excluded anyway (because they are static) results in warnings on the named fields. + Attempting to exclude fields that don't exist or would have been excluded anyway (because they are static or transient) results in warnings on the named fields. You therefore don't have to worry about typos.
diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 8b42146f..07affd69 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -46,6 +46,9 @@ will not be generated if there's already a methodgetFoo(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.
+
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.