Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
We have many bugs with NPE. But current IDE allows us to see that null is possible as return value. findbugs can handle that too.
So we need to:
1. annotate methods with null/nonnull
2. force annotation of interfaces (and even better - classes) with @Nullable/@Nonnull annotations