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