Annotation Type Nullable


  • @Documented
    @Retention(RUNTIME)
    @Target({FIELD,LOCAL_VARIABLE,PARAMETER,METHOD})
    public @interface Nullable
    This annotation type is used to indicate that the associated field, local variable, method or constructor parameter, or method return value is allowed to be null, and that code using nullable elements should be prepared to encounter null values.

    This annotation type will appear in the generated Javadoc documentation for classes and interfaces that include it.
    See Also:
    NotNull