class ConstraintValidatorContextDecorator implements ConstraintValidatorContext {

    @SuppressWarnings("unchecked")
    public static List<Object> getArguments(ConstraintViolation violation) {
        List<Object> arguments = null;

        if (violation instanceof ConstraintViolationImpl) {
            Map<String, Object> variables = ((ConstraintViolationImpl<?>) violation).getExpressionVariables();
            if (variables != null) {
                arguments = (List<Object>) variables.get(ARGUMENTS);
            }
        }

        return arguments;
    }

    public  ConstraintValidatorContextDecorator(ConstraintValidatorContext context);

}