code: private StringBuilder appendMessage(StringBuilder toAppendTo) {
          if (isValid()) {
              return toAppendTo.append("[valid]");
          }
          return toAppendTo.append(messages);
      }
docs: Append any validation message(s) to the specified StringBuffer.
  
  @param toAppendTo
  @return specified StringBuffer with message(s) appended