TypeQualifierValidator
Date: 2016-03-08

javax.annotation.meta

## Interface TypeQualifierValidator<A extends java.lang.annotation.Annotation>

- All Known Implementing Classes:
    MatchesPattern.Checker, Nonnegative.Checker, Nonnull.Checker, RegEx.Checker

      public interface TypeQualifierValidator<A extends java.lang.annotation.Annotation>

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `When` | `forConstantValue(A 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.

- - ### Method Detail

    - #### forConstantValue

          @Nonnull
          When forConstantValue(@Nonnull
                                      A 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.
      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