@Override public Collection<VirtualFile> getDomFileCandidates( Class<? extends DomElement> rootElementClass, Project project, final GlobalSearchScope scope) { return FileBasedIndex.getInstance() .getContainingFiles(DomFileIndex.NAME, rootElementClass.getName(), scope); }
public Collection<VirtualFile> getDomFileCandidates( Class<? extends DomElement> description, Project project) { return FileBasedIndex.getInstance() .getContainingFiles( DomFileIndex.NAME, description.getName(), GlobalSearchScope.allScope(project)); }