Annotation Type NonNull


  • @Documented
    @Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
    @Retention(CLASS)
    @Nonnull(when=ALWAYS)
    @TypeQualifierNickname
    public @interface NonNull
    The annotated element must not be null. Annotated Fields must only not be null after construction has completed. Annotated methods must have non-null return values.