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
Lombok throws an error when using @NonNull on abstract method (in abstract class or interface): @NonNull is meaningless on a parameter of an abstract method.
@NonNull not meaningless in this situation.
It is actually very useful for documentation purposes.
Also, to keep things easy to understand, probably Lombok should require @NonNull for implementations of these methods (even for abstract overrides - e.g. add a throws declaration in a subclass).
The text was updated successfully, but these errors were encountered:
Lombok throws an error when using
@NonNull
on abstract method (in abstract class or interface):@NonNull is meaningless on a parameter of an abstract method
.@NonNull
not meaningless in this situation.It is actually very useful for documentation purposes.
Also, to keep things easy to understand, probably Lombok should require
@NonNull
for implementations of these methods (even for abstract overrides - e.g. add a throws declaration in a subclass).The text was updated successfully, but these errors were encountered: