@Documented @TypeQualifierNickname @Nonnull(when=UNKNOWN) @Retention(value=RUNTIME) public @interface Nullable
In general, this means developers will have to read the documentation to determine when a null value is acceptable and whether it is necessary to check for a null value.
This annotation is useful mostly for overriding a
Static analysis tools should generally treat the annotated items as though they
had no annotation, unless they are configured to minimize false negatives.
CheckForNull to indicate that the element value should always be checked
for a null value.
When this annotation is applied to a method it applies to the method return value.
Copyright © 2017. All rights reserved.