Annotation Interface NotNull


@Retention(CLASS) @Target({FIELD,METHOD,PARAMETER}) @interface NotNull
Specifies that property is not null

You can also use any another NotNull or NonNull annotation (from any library or your own), they are equal to using this