|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||
@Documented
@Retention(value=CLASS)
@Target(value={METHOD,PARAMETER,LOCAL_VARIABLE,FIELD})
public @interface Nullable
Denotes that a parameter, field or method return value can be null.
Note: this is the default assumption for most Java APIs and the
default assumption made by most static code checking tools, so usually you
don't need to use this annotation; its primary use is to override a default
wider annotation like NonNullByDefault.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | ||||||||