I have configured Eclipse as seen in the screenshot.
However I get no errors for this code:
@Nonnull public static Object test(@CheckForNull Object t) {
return t;
}
When I run spotbugs on this code I get:
t must be non-null but is marked as nullable
How to get Eclipse to work with those annotations?
Version is: Eclipse IDE for Java Developers Version: 2020-03 (4.15.0)
NB. not sure if it's relevant but I'm using eclipse with the lombok plugin