Package javax.annotation
Annotation Type Nonnegative
-
@Documented @TypeQualifier(applicableTo=java.lang.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.
-
-
Element Detail
-
when
When when
- Default:
- javax.annotation.meta.When.ALWAYS
-
-