Hello!
Note: those annotations, I'm talking about, are specified by JSR305.
I have the latest Findbugs (1.3.9) and it finds errors correctly when some field, annotated with @Nonnull, is assigned to null.
But, in my project, the "non-null logic" is the default case. I would say that null is explicitely allowed only in 5% of cases.
So, it would be very inconvenient to annotate 95% of fields with @Nonnull. I would rather prefer to annotate those 5% of fields with @Nullable.
I tried to annotate a whole package with @Nonnull, it doesn't change anything.
So, it is somehow possible to specify the default logic?