public static class MatchesPattern.Checker extends java.lang.Object implements TypeQualifierValidator<MatchesPattern>
Constructor and Description |
---|
Checker() |
Modifier and Type | Method and Description |
---|---|
When |
forConstantValue(MatchesPattern annotation,
java.lang.Object value)
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(MatchesPattern annotation, java.lang.Object value)
TypeQualifierValidator
forConstantValue
in interface TypeQualifierValidator<MatchesPattern>
annotation
- the type qualifiervalue
- the value to check