@Documented @Retention(value=RUNTIME) @Target(value={TYPE_USE,TYPE_PARAMETER}) public @interface SignedPositive
@
Signed
and @
Unsigned
— both interpretations are equivalent.
Programmers should rarely write @SignedPositive
. Instead, the programmer should write
@
Signed
or @
Unsigned
to indicate how the programmer intends the
value to be interpreted.
Internally, this is translated to the @
SignednessGlb
annotation. This means
that programmers do not see this annotation in error messages.
@SignedPositive
corresponds to @
NonNegative
in the Index Checker's type
system.
SignednessGlb