public void writeExternal(Element element) throws WriteExternalException { final Collection<RunnerAndConfigurationSettings> configurations = myManager.getStableConfigurations(); for (RunnerAndConfigurationSettings configuration : configurations) { if (myManager.isConfigurationShared(configuration)) { myManager.addConfigurationElement(element, configuration); } } if (myUnloadedElements != null) { for (Element unloadedElement : myUnloadedElements) { element.addContent((Element) unloadedElement.clone()); } } }