Documentation of 'edu.umd.cs.findbugs.annotations.PossiblyNull' Java class
PossiblyNull
edu.umd.cs.findbugs.annotations

Annotation Type PossiblyNull


  • Deprecated. 
    - use CheckForNull instead; the name of which more clearly indicates that not only could the value be null, but that good coding practice requires that the value be checked for null.

    @Documented
     @Target(value={FIELD,METHOD,PARAMETER,LOCAL_VARIABLE})
     @Retention(value=CLASS)
     @Nonnull(when=MAYBE)
     @TypeQualifierNickname
     @Deprecated
    public @interface PossiblyNull
    The annotated element should 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.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.