diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-27 00:21:06 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2012-03-27 00:22:13 +0200 |
commit | 10b6166ff33ee633fca93d74d87965ada5df4269 (patch) | |
tree | b0fe3d7d44c88c9aefd75f30f2fb5698d3cb4a46 /website/features/GetterSetter.html | |
parent | 19466a5413d0c451b89d0d70a8ba8f5fe0fc98aa (diff) | |
download | lombok-10b6166ff33ee633fca93d74d87965ada5df4269.tar.gz lombok-10b6166ff33ee633fca93d74d87965ada5df4269.tar.bz2 lombok-10b6166ff33ee633fca93d74d87965ada5df4269.zip |
Finished up documentation for Accessors.
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> |