code: public void append(StringBuilder buffer, Object value) {
          if (buffer == null) {
              throw new NullPointerException("buffer");
          }
  
          buffer.append(value);
      }
docs: A function to append a value to an existing buffer.
  
  @param buffer  the buffer to append to
  @param value  the value to append