See: Description
| Annotation Type | Description |
|---|---|
| NonNull |
Qualifier for a type in a method signature or a local variable declaration:
The entity (return value, parameter, local variable) whose type has this
annotation can never have the value
null at runtime. |
| NonNullByDefault |
This annotation can be applied to a package, type, method or constructor in order to
define that all contained entities for which a null annotation is otherwise lacking
should be considered as
@NonNull. |
| Nullable |
Qualifier for a type in a method signature or a local variable declaration:
The entity (return value, parameter, local variable) whose type has this
annotation is allowed to have the value
null at runtime. |
Currently, the package contains annotations that specify nullness contracts for annotated elements.
Guidelines for using Eclipse APIs. Copyright (c) 2000, 2012 IBM Corporation and others. All rights reserved.