private void registerCustomSettings(@NotNull CustomCodeStyleSettings customSettings) {
    for (String tagName : customSettings.getKnownTagNames()) {
      if (myUnknownCustomElements.containsKey(tagName)) {
        restoreCustomSettings(customSettings);
        return;
      }
    }
    synchronized (myCustomSettings) {
      myCustomSettings.put(customSettings.getClass().getName(), customSettings);
    }
  }
private void registerCustomSettings(@NotNull CustomCodeStyleSettings customSettings)