You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When a flavor of NonNullByDefault annotation is present, the equals method is (correctly) generated with an overriding Nullable annotation.
When configuration lombok.addNullAnnotations is present, the equals method is (correctly) generated with a Nullable annotation.
When both are present, the same annotation is generated twice, which does not compile.
To Reproduce
//CONF: lombok.addNullAnnotations = javax
@lombok.EqualsAndHashCode
@javax.annotation.ParametersAreNonnullByDefault
class someClass
Expected behavior
Only one annotation is generated.