mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 14:17:48 +00:00
[fixes #788] lombok generated equals method plus a non-null-by-default annotation no longer clash.
This commit is contained in:
13 files changed
+160
-6
No files matched your search
@@ -53,6 +53,8 @@
|
||||
</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><p>
|
||||
If the class (or an enclosing class) has either the <code>@org.eclipse.jdt.annotation.NonNullByDefault</code> or the <code>@javax.annotation.ParametersAreNonnullByDefault</code> annotation, the parameter of the generated <code>equals</code> method will have the appropriate <code>@Nullable</code> annotation; JDK8+ is required when you do this. <span class="since">(since 1.18.12)</span>.
|
||||
</p>
|
||||
</@f.smallPrint>
|
||||
</@f.scaffold>
|
||||
Reference in new issue
Block a user