Annotation Type Nonnull


  • @Documented
    @TypeQualifier
    @Retention(RUNTIME)
    public @interface Nonnull
    The annotated element must not be null.

    Annotated fields must not be null after construction has completed.

    When this annotation is applied to a method it applies to the method return value.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      When when  
    • Element Detail

      • when

        When when
        Default:
        javax.annotation.meta.When.ALWAYS