List<DomFileElement<IdeaPlugin>> (@NotNull String moduleName, List<DomFileElement<IdeaPlugin>> elements) { String extensionsFile = INTELLIJ_MODULES.get(moduleName); if (extensionsFile != null) { for (DomFileElement<IdeaPlugin> element : elements) { if (element.getFile().getName().equals(extensionsFile)) { return Collections.singletonList(element); } } } return elements; }