Element (@NotNull EditorColorsScheme scheme) { Element root = new Element("scheme"); ((AbstractColorsScheme)scheme).writeExternal(root); fixPlatformSpecificValues(root); root.removeChildren("metaInfo"); return root; }