private void handleRequiredEmptyChecks(Field field, Object container, SwingWorkerInterface swingworker) throws IllegalAccessException {
        Required reqAnno = field.getAnnotation(Required.class);
        ShouldBeEmpty empty = field.getAnnotation(ShouldBeEmpty.class);

        if (reqAnno != null || empty != null) {
            boolean isError=checkForRequired(reqAnno!=null,
                    reqAnno!=null? reqAnno.errorMsg() : empty.errorMsg(),
                    reqAnno!=null? reqAnno.value() : empty.value(),
                            field,container,swingworker.getAction());
            if(isError) {
                this.isError=true;
            }
        }
    }