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