Element () { Element element = new Element("state"); ProjectLevelVcsManagerSerialization.writeExternalUtil(element, myOptionsAndConfirmations); if (myHaveLegacyVcsConfiguration && !myProject.isDefault()) { element.setAttribute(SETTINGS_EDITED_MANUALLY, "true"); } return element; }