void (@NotNull Element element) { if (myConfig != null) { element.removeContent(); final List<Attribute> attributes = myConfig.getAttributes(); for (Attribute attribute : attributes) { element.setAttribute(attribute.clone()); } for (Element child : myConfig.getChildren()) { element.addContent(child.clone()); } } }