public class MethodResolverProcessor extends MethodCandidatesProcessor
ElementClassHint.DeclarationKind
PsiScopeProcessor.Event
myCurrentFileContext
myName, myPlace, myPlaceFile
myResults
KEY
Constructor and Description |
---|
MethodResolverProcessor(PsiClass classConstr,
PsiExpressionList argumentList,
PsiElement place,
PsiFile placeFile) |
MethodResolverProcessor(PsiElement place,
PsiFile placeFile,
PsiConflictResolver [] resolvers) |
MethodResolverProcessor(PsiMethodCallExpression place,
PsiFile placeFile) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptVarargs() |
boolean |
execute(PsiElement element,
ResolveState state) |
void |
handleEvent(PsiScopeProcessor.Event event,
java.lang.Object associated) |
add, addMethod, createCandidateInfo, getCandidates, getContainingClass, isAccepted
forceAddResult, getArgumentList, getHint, getLanguageLevel, getTypeArguments, isConstructor, obtainTypeArguments, setAccessClass, setArgumentList, setIsConstructor, shouldProcess
add, getName, getResult, setName, stopAtFoundResult
getResults
public MethodResolverProcessor(PsiMethodCallExpression place, PsiFile placeFile)
public MethodResolverProcessor(PsiClass classConstr, PsiExpressionList argumentList, PsiElement place, PsiFile placeFile)
public MethodResolverProcessor(PsiElement place, PsiFile placeFile, PsiConflictResolver [] resolvers)
public void handleEvent(PsiScopeProcessor.Event event, java.lang.Object associated)
handleEvent
in interface PsiScopeProcessor
handleEvent
in class MethodsProcessor
public boolean execute(PsiElement element, ResolveState state)
execute
in interface PsiScopeProcessor
execute
in class ConflictFilterProcessor
element
- candidate element.state
- current state of resolver.protected boolean acceptVarargs()
acceptVarargs
in class MethodCandidatesProcessor