boolean (@NotNull Project project, @NotNull VirtualFile file) { return !DumbService.isDumb(project) && FileTypeRegistry.getInstance().isFileOfType(file, XmlFileType.INSTANCE) && PsiUtil.isPluginProject(project) && DescriptorUtil.isPluginXml(PsiManager.getInstance(project).findFile(file)); }