Annotation Type CheckForNull


  • @Documented
    @Target({FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
    @Retention(CLASS)
    @Nonnull(when=MAYBE)
    @TypeQualifierNickname
    public @interface CheckForNull
    The annotated element might be null, and uses of the element should check for null. When this annotation is applied to a method it applies to the method return value.