Package javax.annotation.meta
Interface TypeQualifierValidator<A extends Annotation>
-
- All Known Implementing Classes:
Nonnull.Checker
public interface TypeQualifierValidator<A extends Annotation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WhenforConstantValue(A annotation, 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, 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 qualifiervalue- the value to check- Returns:
- a value indicating whether or not the value is an member of the values denoted by the type qualifier
-
-