forConstantValue
public javax.annotation.meta.When forConstantValue(Nonnull qualifierArgument,
java.lang.Object value)
Description copied from interface: javax.annotation.meta.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 javax.annotation.meta.TypeQualifierValidator<Nonnull>
- Parameters:
qualifierArgument
- 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