public void readExternal(@NotNull Element element) throws InvalidDataException {
    synchronized (this) {
      initCommonSettingsMap();
      CodeStyleSettingsService settingsService = CodeStyleSettingsService.getInstance();
      for (Element commonSettingsElement : element.getChildren(COMMON_SETTINGS_TAG)) {
        final String languageId = commonSettingsElement.getAttributeValue(LANGUAGE_ATTR);
        if (!StringUtil.isEmpty(languageId)) {
          final LanguageCodeStyleProvider provider = ContainerUtil.find(settingsService.getLanguageCodeStyleProviders(),
                                                                        p -> languageId.equals(p.getLanguage().getID()));
          if (provider != null) {
            CommonCodeStyleSettings commonSettings = readExternal(provider, commonSettingsElement);
            if (commonSettings != null) {
              init(commonSettings, provider.getLanguage().getID());
            }
          }
          else {
            myUnknownSettingsMap.put(languageId, JDOMUtil.internElement(commonSettingsElement));
          }
        }
      }
      initNonReadSettings();
    }
  }
public void readExternal(@NotNull Element element)