|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @TypeQualifier @SubtypeOf(value={}) public @interface Nullable
Indicates that a variable may have a null value.
If a method parameter is annotated with @Nullable
, then passing
null
as an argument should not cause the method to throw an
exception, including a NullPointerException
. A similar argument
applies to public fields that are annotated with @Nullable
.
This annotation is associated with the NullnessChecker
.
NonNull
,
NullnessChecker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |