ValidateVisitor { {{ private String errors = ""; }} public String get_return_val() {{ return errors; }} private void addError(String errorText) {{ errors = errors + "\n" + errorText; }} } // end of class ValidateVisitor