public abstract class LibraryScopeBase extends GlobalSearchScope
GlobalSearchScope.FilesScope| Modifier and Type | Field and Description |
|---|---|
protected ProjectFileIndex |
myIndex |
EMPTY_ARRAY, EMPTY_SCOPEALL, NONE| Constructor and Description |
|---|
LibraryScopeBase(Project project,
VirtualFile[] classes,
VirtualFile[] sources) |
| Modifier and Type | Method and Description |
|---|---|
int |
calcHashCode()
To provide your own hash code please override this method instead of
SearchScope.hashCode() |
int |
compare(VirtualFile file1,
VirtualFile file2) |
boolean |
contains(VirtualFile file) |
boolean |
equals(java.lang.Object o) |
protected VirtualFile |
getFileRoot(VirtualFile file) |
boolean |
isSearchInLibraries() |
boolean |
isSearchInModuleContent(Module aModule) |
accept, allScope, everythingScope, fileScope, fileScope, fileScope, filesScope, filesScope, filesWithLibrariesScope, filesWithoutLibrariesScope, getProject, getScopeRestrictedByFileTypes, getUnloadedModulesBelongingToScope, intersectWith, intersectWith, intersectWith, isForceSearchingInLibrarySources, isSearchInModuleContent, moduleRuntimeScope, moduleScope, moduleTestsWithDependentsScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesScope, moduleWithDependentsScope, moduleWithLibrariesScope, notScope, projectScope, union, union, union, union, uniteWithgetDisplayName, getIcon, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitandprotected final ProjectFileIndex myIndex
public LibraryScopeBase(Project project, VirtualFile[] classes, VirtualFile[] sources)
public boolean contains(VirtualFile file)
contains in class SearchScopeprotected VirtualFile getFileRoot(VirtualFile file)
public int compare(VirtualFile file1, VirtualFile file2)
compare in class GlobalSearchScopepublic boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent in class GlobalSearchScopepublic boolean isSearchInLibraries()
isSearchInLibraries in class GlobalSearchScopepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int calcHashCode()
SearchScopeSearchScope.hashCode()calcHashCode in class SearchScope