public abstract class LibraryScopeBase extends GlobalSearchScope
GlobalSearchScope.FilesScope
Modifier and Type | Field and Description |
---|---|
protected ProjectFileIndex |
myIndex |
EMPTY_ARRAY, EMPTY_SCOPE
ALL, 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, uniteWith
getDisplayName, getIcon, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
and
protected final ProjectFileIndex myIndex
public LibraryScopeBase(Project project, VirtualFile[] classes, VirtualFile[] sources)
public boolean contains(VirtualFile file)
contains
in class SearchScope
protected VirtualFile getFileRoot(VirtualFile file)
public int compare(VirtualFile file1, VirtualFile file2)
compare
in class GlobalSearchScope
public boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent
in class GlobalSearchScope
public boolean isSearchInLibraries()
isSearchInLibraries
in class GlobalSearchScope
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int calcHashCode()
SearchScope
SearchScope.hashCode()
calcHashCode
in class SearchScope