@TypeQualifier @SubtypeOf(value={}) @DefaultFor(value={LOCAL_VARIABLE,RESOURCE_VARIABLE,IMPLICIT_UPPER_BOUNDS}) @Documented @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface Nullable
Nullable
is a type annotation that indicates that the value is not
known to be non-null (see NonNull
). Only if an expression has a
Nullable
type it can be assigned null
.
This annotation is associated with the AbstractNullnessChecker
.
NonNull
,
MonotonicNonNull
,
AbstractNullnessChecker