Class RegEx.Checker

java.lang.Object
javax.annotation.RegEx.Checker
All Implemented Interfaces:
TypeQualifierValidator<RegEx>
Enclosing class:
RegEx

public static class RegEx.Checker extends Object implements TypeQualifierValidator<RegEx>
  • Constructor Details

    • Checker

      public Checker()
  • Method Details

    • forConstantValue

      public When forConstantValue(RegEx annotation, Object value)
      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 interface TypeQualifierValidator<RegEx>
      Parameters:
      annotation - the type qualifier
      value - the value to check
      Returns:
      a value indicating whether or not the value is an member of the values denoted by the type qualifier