void (Element element, @NonNls String name) { if (hasDefaultValues()) { return; } final Element optionElement = new Element("option").setAttribute("name", name); final Element valueElement = new Element("value"); writeExternal(valueElement); element.addContent(optionElement.addContent(valueElement)); }