code: protected void doWrite(Appendable appendable, boolean fromToString) throws IOException {
  
      appendable.append(getName());
      appendable.append(NAME_VERSION_SEPARATOR);
      appendable.append(this.version);
    }
docs: Called from {@link #write(Appendable)} or {@link #toString()} to write the serialized data of this
  object.
  
  @param appendable the {@link StringBuilder} where to {@link StringBuilder#append(String) append} to.
  @param fromToString - {@code true} if called from {@link #toString()}, {@code false} otherwise. Can be
  ignored if not relevant.
  @throws IOException if an error occurred whilst writing the data.