Top Methods
javax.annotation.meta

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

Known Direct Implementers
javax.annotation.MatchesPattern.Checker, javax.annotation.Nonnegative.Checker, javax.annotation.Nonnull.Checker, javax.annotation.RegEx.Checker
Imports
java.lang.annotation.Annotation, javax.annotation.Nonnull

Method Summary

Modifier and TypeMethod and Description
public When

Returns:

a value indicating whether or not the value is an member of the values denoted by the type qualifier
forConstantValue
(A
the type qualifier
annotation
,
Object
the value to check
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

forConstantValueback to summary
public When forConstantValue(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:A

the type qualifier

value:Object

the value to check

Returns:When

a value indicating whether or not the value is an member of the values denoted by the type qualifier

Annotations
@Nonnull