aboutsummaryrefslogtreecommitdiff
path: root/website/features
diff options
context:
space:
mode:
authorSander Koning <askoning@gmail.com>2012-02-27 20:24:13 +0100
committerSander Koning <askoning@gmail.com>2012-02-27 20:24:13 +0100
commit1e64f45b953b7e76c4fc143c8c35c3aae36437d6 (patch)
tree5ab960446c8c6e77cdf77989ad3b8046defa7d15 /website/features
parent102e7eafb01e702412c318c6ff189e562be7924e (diff)
downloadlombok-1e64f45b953b7e76c4fc143c8c35c3aae36437d6.tar.gz
lombok-1e64f45b953b7e76c4fc143c8c35c3aae36437d6.tar.bz2
lombok-1e64f45b953b7e76c4fc143c8c35c3aae36437d6.zip
Fix note on @Getter wrt hasX fields: prefix is actually generated (conforming to beanspec)
Diffstat (limited to 'website/features')
-rw-r--r--website/features/GetterSetter.html3
1 files changed, 1 insertions, 2 deletions
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 <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.
</p><p>
- For <code>boolean</code> fields that start with <code>is</code> or <code>has</code> immediately followed by a title-case letter, nothing is prefixed
- to generate the getter name.
+ 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>
Any variation on <code>boolean</code> will <em>not</em> result in using the <code>is</code> prefix instead of the <code>get</code> prefix; for example,
returning <code>java.lang.Boolean</code> results in a <code>get</code> prefix, not an <code>is</code> prefix.