diff options
Diffstat (limited to 'website/features/GetterSetter.html')
-rw-r--r-- | website/features/GetterSetter.html | 6 |
1 files changed, 3 insertions, 3 deletions
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. </p><p> - No method is generated if any method already exists with the same name, even if the parameter list is different. For example, <code>getFoo()</code> - will not be generated if there's already a method <code>getFoo(int x)</code> 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, <code>getFoo()</code> + will not be generated if there's already a method <code>getFoo(String... x)</code> 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. </p><p> For <code>boolean</code> fields that start with <code>is</code> immediately followed by a title-case letter, nothing is prefixed to generate the getter name. </p><p> |