*
* @param validationContext The execution context
* @param valueContext Collected information for single validation
*/
private <T, U, V> void validateCascadedConstraints(ValidationContext<T, ?> validationContext, ValueContext<U, V> valueContext) {
Validatable validatable = valueContext.getCurrentValidatable();
PathImpl originalPath = valueContext.getPropertyPath();
Class<?> originalGroup = valueContext.getCurrentGroup();
Integer originalParameterIndex = valueContext.getParameterIndex();
for ( Cascadable oneCascadable : validatable.getCascadables() ) {
valueContext.appendNode( oneCascadable.getName() );
valueContext.setCurrentGroup( oneCascadable.convertGroup( originalGroup ) );
//That's not so elegant. Will be not required when we collect all cascadables on the path in the context.