public class ProjectAndLibrariesScope extends GlobalSearchScope
GlobalSearchScope.FilesScope
Modifier and Type | Field and Description |
---|---|
protected ProjectFileIndex |
myProjectFileIndex |
EMPTY_ARRAY, EMPTY_SCOPE
ALL, NONE
Constructor and Description |
---|
ProjectAndLibrariesScope(Project project) |
ProjectAndLibrariesScope(Project project,
boolean searchOutsideRootModel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(VirtualFile file1,
VirtualFile file2) |
boolean |
contains(VirtualFile file) |
java.lang.String |
getDisplayName() |
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) |
void |
setDisplayName(java.lang.String displayName) |
java.lang.String |
toString() |
accept, allScope, everythingScope, fileScope, fileScope, fileScope, filesScope, filesScope, filesWithLibrariesScope, filesWithoutLibrariesScope, getProject, getScopeRestrictedByFileTypes, intersectWith, intersectWith, intersectWith, isForceSearchingInLibrarySources, isSearchInModuleContent, moduleRuntimeScope, moduleScope, moduleTestsWithDependentsScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesScope, moduleWithDependentsScope, moduleWithLibrariesScope, notScope, projectScope, union, union, union, union, uniteWith
calcHashCode, getIcon, hashCode
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
and
protected final ProjectFileIndex myProjectFileIndex
public ProjectAndLibrariesScope(Project project)
@Deprecated public ProjectAndLibrariesScope(Project project, boolean searchOutsideRootModel)
ProjectAndLibrariesScope(Project)
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 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 void setDisplayName(java.lang.String displayName)
public java.lang.String toString()
toString
in class java.lang.Object