Element (@NotNull String langId, @NotNull CommonCodeStyleSettings commonSettings, @NotNull LanguageCodeStyleProvider provider) { Element commonSettingsElement = new Element(COMMON_SETTINGS_TAG); commonSettings.writeExternal(commonSettingsElement, provider); commonSettingsElement.setAttribute(LANGUAGE_ATTR, langId); return commonSettingsElement; }