public class PsiSearchScopeUtil
extends java.lang.Object
Constructor and Description |
---|
PsiSearchScopeUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInScope(GlobalSearchScope globalScope,
PsiElement element) |
static boolean |
isInScope(LocalSearchScope local,
PsiElement element) |
static boolean |
isInScope(SearchScope scope,
PsiElement element) |
static SearchScope |
restrictScopeTo(SearchScope originalScope,
FileType... fileTypes) |
static SearchScope |
restrictScopeToFileLanguage(Project project,
SearchScope originalScope,
LanguageMatcher matcher) |
static SearchScope |
union(SearchScope a,
SearchScope b) |
public static SearchScope union(SearchScope a, SearchScope b)
public static boolean isInScope(SearchScope scope, PsiElement element)
public static boolean isInScope(GlobalSearchScope globalScope, PsiElement element)
public static boolean isInScope(LocalSearchScope local, PsiElement element)
public static SearchScope restrictScopeTo(SearchScope originalScope, FileType... fileTypes)
public static SearchScope restrictScopeToFileLanguage(Project project, SearchScope originalScope, LanguageMatcher matcher)