Element () { if (myDataHolder != null) { return myDataHolder.read(); } Element element = new Element(PROFILE); writeExternal(element); if (myProjectLevel) { element.setAttribute("version", "1.0"); } if (myProjectLevel && ProjectKt.isDirectoryBased(((ProjectBasedInspectionProfileManager)myProfileManager).getProject())) { return new Element("component").setAttribute("name", "InspectionProjectProfileManager").addContent(element); } mySchemeState = SchemeState.UNCHANGED; return element; }