private @NotNull Collection<Element> getSettings(@NotNull String componentName, @NotNull String tagName) {
    List<Element> result = new ArrayList<>();
    if (projectFile != null) {
      result.addAll(JDOMUtil.getChildren(projectFile.findComponent(componentName), tagName));
    }

    for (Path file : getSettingsFiles()) {
      result.addAll(JDOMUtil.getChildren(context.getOrCreateFile$intellij_platform_lang_impl(file).getRootElement(), tagName));
    }
    return result;
  }
private @NotNull Collection<Element> getSettings(@NotNull String componentName, @NotNull String tagName)