public class DelegatingGlobalSearchScope extends GlobalSearchScope
GlobalSearchScope.FilesScope
Modifier and Type | Field and Description |
---|---|
protected GlobalSearchScope |
myBaseScope |
EMPTY_ARRAY, EMPTY_SCOPE
ALL, NONE
Constructor and Description |
---|
DelegatingGlobalSearchScope(GlobalSearchScope baseScope) |
DelegatingGlobalSearchScope(GlobalSearchScope baseScope,
java.lang.Object... equality) |
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) |
java.lang.String |
getDisplayName() |
javax.swing.Icon |
getIcon() |
java.util.Collection<UnloadedModuleDescription> |
getUnloadedModulesBelongingToScope()
Returns descriptions of unloaded modules content of whose might be included into this scope if they had been loaded.
|
boolean |
isSearchInLibraries() |
boolean |
isSearchInModuleContent(Module aModule) |
boolean |
isSearchInModuleContent(Module aModule,
boolean testSources) |
java.lang.String |
toString() |
accept, allScope, everythingScope, fileScope, fileScope, fileScope, filesScope, filesScope, filesWithLibrariesScope, filesWithoutLibrariesScope, getProject, getScopeRestrictedByFileTypes, intersectWith, intersectWith, intersectWith, isForceSearchingInLibrarySources, moduleRuntimeScope, moduleScope, moduleTestsWithDependentsScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesScope, moduleWithDependentsScope, moduleWithLibrariesScope, notScope, projectScope, union, union, union, union, uniteWith
hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and
protected final GlobalSearchScope myBaseScope
public DelegatingGlobalSearchScope(GlobalSearchScope baseScope)
public DelegatingGlobalSearchScope(GlobalSearchScope baseScope, java.lang.Object... equality)
public boolean contains(VirtualFile file)
contains
in class SearchScope
public int compare(VirtualFile file1, VirtualFile file2)
compare
in class GlobalSearchScope
public boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent
in class GlobalSearchScope
public boolean isSearchInModuleContent(Module aModule, boolean testSources)
isSearchInModuleContent
in class GlobalSearchScope
public boolean isSearchInLibraries()
isSearchInLibraries
in class GlobalSearchScope
public java.util.Collection<UnloadedModuleDescription> getUnloadedModulesBelongingToScope()
GlobalSearchScope
getUnloadedModulesBelongingToScope
in class GlobalSearchScope
public java.lang.String getDisplayName()
getDisplayName
in class SearchScope
public javax.swing.Icon getIcon()
getIcon
in class SearchScope
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int calcHashCode()
SearchScope
SearchScope.hashCode()
calcHashCode
in class SearchScope