aboutsummaryrefslogtreecommitdiff
path: root/website/features/EqualsAndHashCode.html
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 10:51:09 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-07-21 10:51:09 +0200
commit91bb3455da2913c81745d2a7f7e5b42839964f58 (patch)
treed01d7683b1ad91ada20df34d69ef648aaceb0815 /website/features/EqualsAndHashCode.html
parentc06660bd186c7ae8215a822c4eceab097407eeda (diff)
downloadlombok-91bb3455da2913c81745d2a7f7e5b42839964f58.tar.gz
lombok-91bb3455da2913c81745d2a7f7e5b42839964f58.tar.bz2
lombok-91bb3455da2913c81745d2a7f7e5b42839964f58.zip
Added using .getX() instead of using .x in equals, hashCode, and toString. Also updated changelog as well as the docs.
Also updated usage examples for @EqualsAndHashCode, @ToString, and @Data, which also contained some other minor issues (such as missing this. qualifiers). Still to do is to detect that getters don't exist _yet_ but will later due to @Getter or @Data.
Diffstat (limited to 'website/features/EqualsAndHashCode.html')
-rw-r--r--website/features/EqualsAndHashCode.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/website/features/EqualsAndHashCode.html b/website/features/EqualsAndHashCode.html
index 15d15050..c5128d10 100644
--- a/website/features/EqualsAndHashCode.html
+++ b/website/features/EqualsAndHashCode.html
@@ -70,6 +70,9 @@
Having both <code>exclude</code> and <code>of</code> generates a warning; the <code>exclude</code> parameter will be ignored in that case.
</p><p>
By default, any variables that start with a $ symbol are excluded automatically. You can only include them by using the 'of' parameter.
+ </p><p>
+ If a getter exists for a field to be included, it is called instead of using a direct field reference. This behaviour can be suppressed:<br />
+ <code>@EqualsAndHashCode(doNotUseGetters = true)</code>
</p>
</div>
</div>