public class ModuleWithDependenciesScope extends GlobalSearchScope
GlobalSearchScope.FilesScope| Modifier and Type | Field and Description |
|---|---|
static int |
COMPILE_ONLY |
static int |
CONTENT |
static int |
LIBRARIES |
static int |
MODULES |
static int |
TESTS |
EMPTY_ARRAY, EMPTY_SCOPEALL, NONE| 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() |
Module |
getModule() |
java.util.Collection<VirtualFile> |
getRoots() |
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, getUnloadedModulesBelongingToScope, intersectWith, intersectWith, intersectWith, isForceSearchingInLibrarySources, moduleRuntimeScope, moduleScope, moduleTestsWithDependentsScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesAndLibrariesScope, moduleWithDependenciesScope, moduleWithDependentsScope, moduleWithLibrariesScope, notScope, projectScope, union, union, union, union, uniteWithgetIcon, hashCodeclone, finalize, getClass, notify, notifyAll, wait, wait, waitandpublic static final int COMPILE_ONLY
public static final int LIBRARIES
public static final int MODULES
public static final int TESTS
public static final int CONTENT
public Module getModule()
public java.lang.String getDisplayName()
getDisplayName in class SearchScopepublic boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent in class GlobalSearchScopepublic boolean isSearchInModuleContent(Module aModule, boolean testSources)
isSearchInModuleContent in class GlobalSearchScopepublic boolean isSearchInLibraries()
isSearchInLibraries in class GlobalSearchScopepublic boolean contains(VirtualFile file)
contains in class SearchScopepublic int compare(VirtualFile file1, VirtualFile file2)
compare in class GlobalSearchScopepublic java.util.Collection<VirtualFile> getRoots()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int calcHashCode()
SearchScopeSearchScope.hashCode()calcHashCode in class SearchScopepublic java.lang.String toString()
toString in class java.lang.Object