javax.annotation
public @Interface CheckForSigned
extends Annotation
- Annotations
- @Documented
- @TypeQualifierNickname
- @Nonnegative
- when:MAYBE
- @Retention:RUNTIME
- Imports
- java.lang.annotation.Documented, .Retention, .RetentionPolicy, javax.annotation.meta.TypeQualifierNickname, .When
Used to annotate a value that may be either negative or nonnegative, and
indicates that uses of it should check for
negative values before using it in a way that requires the value to be
nonnegative, and check for it being nonnegative before using it in a way that
requires it to be negative.