|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Documented @Retention(value=RUNTIME) @Target(value=FIELD) @TypeQualifier @SubtypeOf(value=Nullable.class) public @interface LazyNonNull
Indicates that a field is lazily initialized to a non-null value. Once
the field becomes non-null, it never becomes null
again. There
is no guarantee that the field ever becomes non-null, however.
Lazily initialized fields have these two properties:
Note that final fields are treated as LazyNonNull by default.
This annotation is associated with the NullnessChecker
.
Nullable
,
NullnessChecker
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |