public static class Nonnegative.Checker extends Object implements TypeQualifierValidator<Nonnegative>
Constructor and Description |
---|
Nonnegative.Checker () |
Modifier and Type | Method and Description |
---|---|
When |
forConstantValue (Nonnegative annotation,
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 Nonnegative.Checker()
public When forConstantValue(Nonnegative annotation, Object v)
TypeQualifierValidator
forConstantValue
in interface TypeQualifierValidator<Nonnegative>
annotation
- the type qualifierv
- the value to checkCopyright © 2015. All rights reserved.