MatchesPattern.Checker
Date: 2016-03-08

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 java.lang.Object
      implements TypeQualifierValidator<MatchesPattern>

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MatchesPattern.Checker()`

  - ### Method Summary

    Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MatchesPattern.Checker

          public MatchesPattern.Checker()

  - ### Method Detail

    - #### forConstantValue

          public When forConstantValue(MatchesPattern annotation,
                              java.lang.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<MatchesPattern>`
      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