|
Annotation Types Summary |
| CheckForNull |
The annotated element might be null, and uses of the element should check for null. |
| CheckReturnValue |
This annotation is used to denote a method whose return value
should always be checked when invoking the method. |
| DefaultAnnotation |
Indicates that all members of the class or package should be
annotated with the default value of the supplied annotation class. |
| DefaultAnnotationForFields |
Indicates that all members of the class or package should be
annotated with the default value of the supplied annotation class. |
| DefaultAnnotationForMethods |
Indicates that all members of the class or package should be
annotated with the default value of the supplied annotation class. |
| DefaultAnnotationForParameters |
Indicates that all members of the class or package should be
annotated with the default value of the supplied annotation class. |
| NonNull |
The annotated element must not be null. |
| Nullable |
The annotated element could be null under some circumstances. |
| OverrideMustInvoke |
Used to annotation a method that, if overridded, must (or should) be invoked
by an invocation on super in the overriding method. |
| PossiblyNull |
Deprecated. - use CheckForNull instead; the name of which more clearly indicates that
not only could the value be null, but that good coding practice requires that the
value be checked for null. |
| SuppressWarnings |
|
| UnknownNullness |
Used to indicate that the nullness of element is unknown, or my vary in
unknown ways in subclasses. |