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_SCOPE
ALL, 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, uniteWith
getIcon, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
and
public 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 SearchScope
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 boolean contains(VirtualFile file)
contains
in class SearchScope
public int compare(VirtualFile file1, VirtualFile file2)
compare
in class GlobalSearchScope
public java.util.Collection<VirtualFile> getRoots()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int calcHashCode()
SearchScope
SearchScope.hashCode()
calcHashCode
in class SearchScope
public java.lang.String toString()
toString
in class java.lang.Object