Annotation Interface Nullable


@Target({METHOD,PARAMETER,FIELD}) @Retention(RUNTIME) @Documented @Nonnull(when=MAYBE) @TypeQualifierNickname public @interface Nullable
This annotation is used to define a method parameter or return type as nullable.