public boolean appliesTo( Class<? extends Constraint<?, ?>> constraint,
Class<? extends Annotation> annotationType,
Type valueType
)
{
ConstraintDeclaration constraintDeclaration = constraintDeclarations.get( constraint );
if( constraintDeclaration == null )
{
constraintDeclaration = new ConstraintDeclaration( constraint );
constraintDeclarations.put( constraint, constraintDeclaration );
}
return constraintDeclaration.appliesTo( annotationType, valueType );
}