TypeQualifierValidator<Nonnegative>
public static class Nonnegative.Checker extends java.lang.Object implements TypeQualifierValidator<Nonnegative>
Constructor | Description |
---|---|
Checker() |
Modifier and Type | Method | Description |
---|---|---|
When |
forConstantValue(Nonnegative annotation,
java.lang.Object v) |
Given a type qualifier, check to see if a known specific constant value is an instance of the
set of values denoted by the qualifier.
|
public When forConstantValue(Nonnegative annotation, java.lang.Object v)
TypeQualifierValidator
forConstantValue
in interface TypeQualifierValidator<Nonnegative>
annotation
- the type qualifierv
- the value to check