From 10b6166ff33ee633fca93d74d87965ada5df4269 Mon Sep 17 00:00:00 2001 From: Reinier Zwitserloot Date: Tue, 27 Mar 2012 00:21:06 +0200 Subject: Finished up documentation for Accessors. --- website/features/GetterSetter.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'website/features/GetterSetter.html') diff --git a/website/features/GetterSetter.html b/website/features/GetterSetter.html index 159aa525..b1ae5f24 100644 --- a/website/features/GetterSetter.html +++ b/website/features/GetterSetter.html @@ -48,9 +48,9 @@ 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. Then, get/set/is is prefixed.

- No method is generated if any method already exists with the same name, even if the parameter list is different. For example, getFoo() - 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. + No method is generated if any method already exists with the same name and same parameter count. For example, getFoo() + will not be generated if there's already a method getFoo(String... 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. Varargs count as 0 to N parameters.

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

-- cgit