code: public void write(PrintWriter out, boolean includeDoc) {
          // getValue() will update the timestamp (if relevant)
          T localValue = getValue();
          if (includeDoc) {
              out.println();
              Long lastUpdate = getLastUpdated();
              if (hasDoc() || lastUpdate != null) {
                  out.print("# ");
                  if (hasDoc()) {
                      out.print(makePropertiesSafe(getDoc(), null));
                  }
                  if (lastUpdate != null) {
                      out.print(" (last update: " + lastUpdate + ")");
                  }
                  out.println();
              }
          }
          out.println(toString());
      }
docs: Write name and value (and optionally documentation) in {@link java.util.Properties} format.
  @param out writer
  @param includeDoc true if should be prefixed with documentation line