public static class ReferencesSearch.SearchParameters extends java.lang.Object implements DumbAwareSearchParameters, SearchParameters<PsiReference>
Constructor and Description |
---|
SearchParameters(PsiElement elementToSearch,
SearchScope scope,
boolean ignoreAccessScope) |
SearchParameters(PsiElement elementToSearch,
SearchScope scope,
boolean ignoreAccessScope,
SearchRequestCollector optimizer) |
Modifier and Type | Method and Description |
---|---|
boolean |
areValid() |
SearchScope |
getEffectiveSearchScope() |
PsiElement |
getElementToSearch() |
SearchRequestCollector |
getOptimizer() |
Project |
getProject() |
SearchScope |
getScope()
Deprecated.
Same as
getScopeDeterminedByUser() , use getEffectiveSearchScope() instead |
SearchScope |
getScopeDeterminedByUser() |
boolean |
isIgnoreAccessScope() |
boolean |
isQueryValid() |
public SearchParameters(PsiElement elementToSearch, SearchScope scope, boolean ignoreAccessScope, SearchRequestCollector optimizer)
public SearchParameters(PsiElement elementToSearch, SearchScope scope, boolean ignoreAccessScope)
public final boolean areValid()
areValid
in interface SearchParameters<PsiReference>
public boolean isQueryValid()
isQueryValid
in interface QueryParameters
public Project getProject()
getProject
in interface SearchParameters<PsiReference>
getProject
in interface DumbAwareSearchParameters
getProject
in interface QueryParameters
public PsiElement getElementToSearch()
public SearchScope getScopeDeterminedByUser()
getEffectiveSearchScope()
.@Deprecated public SearchScope getScope()
getScopeDeterminedByUser()
, use getEffectiveSearchScope()
insteadpublic boolean isIgnoreAccessScope()
public SearchRequestCollector getOptimizer()
public SearchScope getEffectiveSearchScope()