@Documented
@Retention(value=CLASS)
@Target(value={FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
public @interface Nullable
Qualifier for a type in a method signature or a local variable declaration:
The entity (return value, parameter, field, local variable) whose type has this
annotation is allowed to have the value null at runtime.
This has two consequences:
Binding a null value to the entity is legal.
Dereferencing the entity is unsafe, i.e., a NullPointerException can occur at runtime.