void (@NotNull final Element rootElement) { super.save(rootElement); myRemoteSdkProperties.save(rootElement); rootElement.setAttribute(SKELETONS_PATH, StringUtil.notNullize(getSkeletonsPath())); rootElement.setAttribute(VERSION, StringUtil.notNullize(getVersionString())); rootElement.setAttribute(RUN_AS_ROOT_VIA_SUDO, Boolean.toString(isRunAsRootViaSudo())); // this should be executed at the end because of the case with UnknownCredentialsHolder myRemoteConnectionCredentialsWrapper.save(rootElement); }