Annotation Type NotNull


@Documented
@Retention(CLASS)
@Target({METHOD,FIELD,PARAMETER,LOCAL_VARIABLE,TYPE_USE})
public @interface NotNull
An annotation which is used for indicating that something can not be null.

This is very useful for static code analysis to prevent bugs.

Since:
4.0.0, CE 2019.1
  • Optional Element Summary

    Optional Elements 
    Modifier and Type Optional Element Description
    String value