MatchesPattern.Checker
, Nonnegative.Checker
, Nonnull.Checker
, RegEx.Checker
public interface TypeQualifierValidator<A extends java.lang.annotation.Annotation>
Modifier and Type | Method | 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.
|
@Nonnull When forConstantValue(@Nonnull A annotation, java.lang.Object value)
annotation
- the type qualifiervalue
- the value to check