Package javax.annotation
Class MatchesPattern.Checker
java.lang.Object
javax.annotation.MatchesPattern.Checker
- All Implemented Interfaces:
TypeQualifierValidator<MatchesPattern>
- Enclosing class:
MatchesPattern
public static class MatchesPattern.Checker
extends Object
implements TypeQualifierValidator<MatchesPattern>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionforConstantValue
(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.
-
Constructor Details
-
Checker
public Checker()
-
-
Method Details
-
forConstantValue
Description copied from interface:TypeQualifierValidator
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.- Specified by:
forConstantValue
in interfaceTypeQualifierValidator<MatchesPattern>
- Parameters:
annotation
- the type qualifiervalue
- the value to check- Returns:
- a value indicating whether or not the value is an member of the values denoted by the type qualifier
-