Package com.mongodb.lang

This package contains JSR 305-compatible annotations related to nullability.
  • Annotation Types Summary 
    Annotation Type Description
    NonNull
    A common annotation to declare that annotated elements cannot be null.
    NonNullApi
    A common annotation to declare that parameters and return values are to be considered as non-nullable by default for a given package.
    Nullable
    A common annotation to declare that annotated elements can be null under some circumstance.