void copyFrom(@NotNull CodeStyleSettings source) {
    synchronized (myCustomSettings) {
      Pair<Collection<CustomCodeStyleSettings>,Map<String,Element>> maps = source.getCustomCodeStyleSettingsManager().getMaps();
      myCustomSettings.clear();
      for (CustomCodeStyleSettings customSettings : maps.first) {
        myCustomSettings.put(customSettings.getClass().getName(), customSettings.copyWith(myRootSettings));
      }
      for (String tagName : maps.second.keySet()) {
        myUnknownCustomElements.put(tagName, JDOMUtil.internElement(maps.second.get(tagName).clone()));
      }
    }
  }
void copyFrom(@NotNull CodeStyleSettings source)