@SuppressWarnings({"unchecked"})
  public final ArrayList<ConstraintViolation<?>> getValidationErrorSet(final Object pclass) {
    return new ArrayList<>(validationErrorSet.stream()
        .map(violation -> ConstraintViolationImpl.forBeanValidation( //
            violation.getMessageTemplate(), //
            Collections.emptyMap(), //
            Collections.emptyMap(), //
            violation.getMessage(), //
            ((SerializeableConstraintValidationImpl<Object>) violation).getRootBeanClass(), //
            pclass, //
            violation.getLeafBean(), //
            null, //
            violation.getPropertyPath(), //
            violation.getConstraintDescriptor(), //
            null, //
            null))
        .collect(Collectors.toList()));
  }
@ SuppressWarnings ( { "unchecked" } ) public final ArrayList < ConstraintViolation < ? > > getValidationErrorSet ( final Object pclass ) { return new ArrayList < > ( validationErrorSet . stream ( ) . map ( violation -> ConstraintViolationImpl . forBeanValidation ( violation . getMessageTemplate ( ) , Collections . emptyMap ( ) , Collections . emptyMap ( ) , violation . getMessage ( ) , ( ( SerializeableConstraintValidationImpl < Object > ) violation ) . getRootBeanClass ( ) , pclass , violation . getLeafBean ( ) , null , violation . getPropertyPath ( ) , violation . getConstraintDescriptor ( ) , null , null ) ) . collect ( Collectors . toList ( ) ) ) ; }
get validation error set.

@param pclass class to get data from
@return the validationErrorSet