void (@NotNull Element node) { if (useNewSerializer()) { XmlSerializer.serializeObjectInto(this, node, getSerializationFilter()); } else { //noinspection deprecation DefaultJDOMExternalizer.writeExternal(this, node); } }