@Nullable
  CommonCodeStyleSettings getCommonSettings(@Nullable Language lang) {
    Map<String, CommonCodeStyleSettings> commonSettingsMap = getCommonSettingsMap();
    Language baseLang = ObjectUtils.notNull(lang, Language.ANY);
    while (baseLang != null) {
      CommonCodeStyleSettings settings = commonSettingsMap.get(baseLang.getID());
      if (settings != null) return settings;
      baseLang = baseLang.getBaseLanguage();
    }
    return null;
  }
@Nullable
  CommonCodeStyleSettings getCommonSettings(@Nullable Language lang)