class CheckAllGroupPositionValidator implements ConstraintValidator<CheckAllGroupPosition, List<ClientQueryGroup>>,
        ValidationErrorDescriptorBuilder {

    @Override
    public ErrorDescriptor build(ConstraintViolation violation) {
        return QUERY_GROUPBY_ALLGROUP_NOT_FIRST.createDescriptor(violation.getPropertyPath().toString());
    }

}