ExtensionPoint (Project project, GlobalSearchScope scope, String fqn) { Ref<ExtensionPoint> result = Ref.create(); FileBasedIndex.getInstance().processValues(NAME, fqn, null, (file, value) -> { final PsiManager psiManager = PsiManager.getInstance(project); final DomManager domManager = DomManager.getDomManager(project); result.set(getExtensionPointDom(psiManager, domManager, file, value)); return false; }, scope); return result.get(); }