class CheckAttributePatternsValidator implements ConstraintValidator<CheckAttributePatterns, List<String>>,
        ValidationErrorDescriptorBuilder {

    @Override
    public ErrorDescriptor build(ConstraintViolation violation) {
        return ATTRIBUTE_PATTERNS_INCLUDES_INVALID.
                createDescriptor(ConstraintValidatorContextDecorator.getArgumentsArray(violation));
    }

}