Collection<IdeaPlugin> (Project project, GlobalSearchScope scope) { if (DumbService.isDumb(project)) return Collections.emptyList(); List<DomFileElement<IdeaPlugin>> files = DomService.getInstance().getFileElements(IdeaPlugin.class, project, scope); return ContainerUtil.map(files, ideaPluginDomFileElement -> ideaPluginDomFileElement.getRootElement()); }