@Documented
@Retention(value=CLASS)
@Target(value=TYPE_USE)
public @interface NonNull
TYPE_USE position:
The type that has this annotation is intended to not include the value null.
If annotation based null analysis is enabled using this annotation has two consequences:
NullPointerException can occur at runtime.null value to an entity (field, local variable, method parameter or method return value)
of this type is a compile time error.null, or@Nullable type.
Note: Since org.eclipse.jdt.annotation 2.0.0, the
@Target is {TYPE_USE}. For the old API, see
@NonNull in 1.1.0.