com.intellij.psi.search
Class GlobalSearchScope

java.lang.Object
  extended by com.intellij.psi.search.SearchScope
      extended by com.intellij.psi.search.GlobalSearchScope

public abstract class GlobalSearchScope
extends SearchScope


Constructor Summary
GlobalSearchScope()
           
 
Method Summary
static GlobalSearchScope allScope(Project project)
           
abstract  int compare(VirtualFile file1, VirtualFile file2)
           
abstract  boolean contains(VirtualFile file)
           
static GlobalSearchScope directoryScope(PsiDirectory directory, boolean withSubdirectories)
           
static SearchScope fileScope(PsiFile psiFile)
           
static GlobalSearchScope filterScope(Project project, NamedScope set, boolean includeNonJavaFiles)
           
static GlobalSearchScope getScopeRestrictedByFileTypes(GlobalSearchScope scope, FileType... fileTypes)
           
 GlobalSearchScope intersectWith(GlobalSearchScope scope)
           
abstract  boolean isSearchInLibraries()
           
abstract  boolean isSearchInModuleContent(Module aModule)
           
static GlobalSearchScope moduleRuntimeScope(Module module, boolean includeTests)
           
static GlobalSearchScope moduleScope(Module module)
           
static GlobalSearchScope moduleTestsWithDependentsScope(Module module)
           
static GlobalSearchScope moduleWithDependenciesAndLibrariesScope(Module module)
           
static GlobalSearchScope moduleWithDependenciesAndLibrariesScope(Module module, boolean includeTests)
           
static GlobalSearchScope moduleWithDependenciesScope(Module module)
           
static GlobalSearchScope moduleWithDependentsScope(Module module)
           
static GlobalSearchScope moduleWithLibrariesScope(Module module)
           
static GlobalSearchScope packageScope(PsiPackage aPackage, boolean includeSubpackages)
           
static GlobalSearchScope packageScopeWithoutLibraries(PsiPackage aPackage, boolean includeSubpackages)
           
static GlobalSearchScope projectProductionScope(Project project, boolean includeNonJavaFiles)
           
static GlobalSearchScope projectScope(Project project)
           
static GlobalSearchScope projectTestScope(Project project, boolean includeNonJavaFiles)
           
 GlobalSearchScope uniteWith(GlobalSearchScope scope)
           
 
Methods inherited from class com.intellij.psi.search.SearchScope
getDisplayName, intersectWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalSearchScope

public GlobalSearchScope()
Method Detail

contains

public abstract boolean contains(VirtualFile file)

compare

public abstract int compare(VirtualFile file1,
                            VirtualFile file2)

isSearchInModuleContent

public abstract boolean isSearchInModuleContent(Module aModule)

isSearchInLibraries

public abstract boolean isSearchInLibraries()

intersectWith

@NotNull
public GlobalSearchScope intersectWith(@NotNull
                                               GlobalSearchScope scope)

uniteWith

public GlobalSearchScope uniteWith(GlobalSearchScope scope)

allScope

public static GlobalSearchScope allScope(Project project)

projectScope

public static GlobalSearchScope projectScope(Project project)

projectProductionScope

public static GlobalSearchScope projectProductionScope(Project project,
                                                       boolean includeNonJavaFiles)

projectTestScope

public static GlobalSearchScope projectTestScope(Project project,
                                                 boolean includeNonJavaFiles)

filterScope

public static GlobalSearchScope filterScope(Project project,
                                            NamedScope set,
                                            boolean includeNonJavaFiles)

moduleScope

public static GlobalSearchScope moduleScope(Module module)

moduleWithLibrariesScope

public static GlobalSearchScope moduleWithLibrariesScope(Module module)

moduleWithDependenciesScope

public static GlobalSearchScope moduleWithDependenciesScope(Module module)

moduleRuntimeScope

public static GlobalSearchScope moduleRuntimeScope(Module module,
                                                   boolean includeTests)

moduleWithDependenciesAndLibrariesScope

public static GlobalSearchScope moduleWithDependenciesAndLibrariesScope(Module module)

moduleWithDependenciesAndLibrariesScope

public static GlobalSearchScope moduleWithDependenciesAndLibrariesScope(Module module,
                                                                        boolean includeTests)

moduleWithDependentsScope

public static GlobalSearchScope moduleWithDependentsScope(Module module)

moduleTestsWithDependentsScope

public static GlobalSearchScope moduleTestsWithDependentsScope(Module module)

packageScope

public static GlobalSearchScope packageScope(PsiPackage aPackage,
                                             boolean includeSubpackages)

directoryScope

public static GlobalSearchScope directoryScope(PsiDirectory directory,
                                               boolean withSubdirectories)

packageScopeWithoutLibraries

public static GlobalSearchScope packageScopeWithoutLibraries(PsiPackage aPackage,
                                                             boolean includeSubpackages)

fileScope

public static SearchScope fileScope(PsiFile psiFile)

getScopeRestrictedByFileTypes

public static GlobalSearchScope getScopeRestrictedByFileTypes(GlobalSearchScope scope,
                                                              FileType... fileTypes)