Annotation Type Nonnegative


@Documented @TypeQualifier(applicableTo=Number.class) @Retention(RUNTIME) public @interface Nonnegative
This annotation is used to annotate a value that should only contain nonnegative values.

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

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • when

      When when
      Default:
      ALWAYS