Package | Description |
---|---|
javax.annotation | |
javax.annotation.meta |
Modifier and Type | Class and Description |
---|---|
interface |
CheckForNull
The annotated element might be null, and uses of the element should check for null.
|
interface |
Nullable
The annotated element could be null under some circumstances.
|
interface |
ParametersAreNonnullByDefault
This annotation can be applied to a package, class or method to indicate that
the method parameters in that element are nonnull by default unless there is:
An explicit nullness annotation
The method overrides a method in a superclass (in which case the
annotation of the corresponding parameter in the superclass applies)
There is a default parameter annotation (like
ParametersAreNullableByDefault )
applied to a more tightly nested element. |
Modifier and Type | Method and Description |
---|---|
When |
Nonnull.Checker.forConstantValue(Nonnull qualifierArgument,
Object value) |
Modifier and Type | Method and Description |
---|---|
When |
TypeQualifierValidator.forConstantValue(A annotation,
Object value)
Given a type qualifier, check to see if a known specific constant value
is an instance of the set of values denoted by the qualifier.
|
Modifier and Type | Method and Description |
---|---|
When |
TypeQualifierValidator.forConstantValue(A annotation,
Object value)
Given a type qualifier, check to see if a known specific constant value
is an instance of the set of values denoted by the qualifier.
|
Copyright © 2017. All rights reserved.