public class ChainCompletionContext
extends java.lang.Object
Constructor and Description |
---|
ChainCompletionContext(ChainSearchTarget target,
java.util.List<PsiNamedElement> contextElements,
PsiElement context) |
Modifier and Type | Method and Description |
---|---|
java.util.function.Predicate<PsiMember> |
accessValidator() |
boolean |
contains(PsiType type) |
static ChainCompletionContext |
createContext(PsiType targetType,
PsiElement containingElement,
boolean suggestIterators) |
java.util.Set<CompilerRef> |
getContextClassReferences() |
PsiFile |
getContextFile() |
PsiElement |
getContextPsi() |
java.util.Set<PsiType> |
getContextTypes() |
Project |
getProject() |
java.util.stream.Stream<PsiNamedElement> |
getQualifiers(PsiClass targetClass) |
java.util.stream.Stream<PsiNamedElement> |
getQualifiers(PsiType targetType) |
CompilerReferenceServiceEx |
getRefService() |
GlobalSearchScope |
getResolveScope() |
ChainSearchTarget |
getTarget() |
boolean |
hasQualifier(PsiClass targetClass) |
static boolean |
isWidelyUsed(PsiType type) |
PsiMethod [] |
resolve(MethodCall sign) |
PsiClass |
resolvePsiClass(CompilerRef.CompilerClassHierarchyElementDef aClass) |
public ChainCompletionContext(ChainSearchTarget target, java.util.List<PsiNamedElement> contextElements, PsiElement context)
public ChainSearchTarget getTarget()
public boolean contains(PsiType type)
public CompilerReferenceServiceEx getRefService()
public PsiElement getContextPsi()
public PsiFile getContextFile()
public java.util.Set<PsiType> getContextTypes()
public java.util.Set<CompilerRef> getContextClassReferences()
public GlobalSearchScope getResolveScope()
public Project getProject()
public boolean hasQualifier(PsiClass targetClass)
public java.util.stream.Stream<PsiNamedElement> getQualifiers(PsiClass targetClass)
public java.util.stream.Stream<PsiNamedElement> getQualifiers(PsiType targetType)
public PsiClass resolvePsiClass(CompilerRef.CompilerClassHierarchyElementDef aClass)
public PsiMethod [] resolve(MethodCall sign)
public java.util.function.Predicate<PsiMember> accessValidator()
public static ChainCompletionContext createContext(PsiType targetType, PsiElement containingElement, boolean suggestIterators)
public static boolean isWidelyUsed(PsiType type)