public void readSettings(@NotNull Element node) {
    if (useNewSerializer()) {
      try {
        XmlSerializer.deserializeInto(node, this);
      }
      catch (SerializationException e) {
        throw new InvalidDataException(e);
      }
    }
    else {
      //noinspection deprecation
      DefaultJDOMExternalizer.readExternal(this, node);
    }
  }
public void readSettings(@NotNull Element node)