public class PackageScope extends GlobalSearchScope
GlobalSearchScope.FilesScope
EMPTY_ARRAY, EMPTY_SCOPE
ALL, NONE
Constructor and Description |
---|
PackageScope(PsiPackage aPackage,
boolean includeSubpackages,
boolean includeLibraries) |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(VirtualFile file) |
boolean |
isSearchInLibraries() |
boolean |
isSearchInModuleContent(Module aModule) |
static GlobalSearchScope |
packageScope(PsiPackage aPackage,
boolean includeSubpackages) |
static GlobalSearchScope |
packageScopeWithoutLibraries(PsiPackage aPackage,
boolean includeSubpackages) |
java.lang.String |
toString() |
accept, allScope, compare, 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
calcHashCode, getDisplayName, getIcon, hashCode
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
and
public PackageScope(PsiPackage aPackage, boolean includeSubpackages, boolean includeLibraries)
public boolean contains(VirtualFile file)
contains
in class SearchScope
public boolean isSearchInModuleContent(Module aModule)
isSearchInModuleContent
in class GlobalSearchScope
public boolean isSearchInLibraries()
isSearchInLibraries
in class GlobalSearchScope
public java.lang.String toString()
toString
in class java.lang.Object
public static GlobalSearchScope packageScope(PsiPackage aPackage, boolean includeSubpackages)
public static GlobalSearchScope packageScopeWithoutLibraries(PsiPackage aPackage, boolean includeSubpackages)