mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-03 07:13:15 +00:00
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.
This commit is contained in:
1 parent
c06660bd18
commit
91bb3455da
12 files changed
+172
-58
No files matched your search
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user