diff options
Diffstat (limited to 'website')
-rw-r--r-- | website/features/EqualsAndHashCode.html | 3 | ||||
-rw-r--r-- | website/features/ToString.html | 3 |
2 files changed, 6 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> diff --git a/website/features/ToString.html b/website/features/ToString.html index 2b1d7b33..23041f48 100644 --- a/website/features/ToString.html +++ b/website/features/ToString.html @@ -59,6 +59,9 @@ other code is forced to parse your <code>toString()</code> output anyway! </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>@ToString(doNotUseGetters = true)</code> </p> </div> </div> |