public class MethodCandidatesProcessor extends MethodsProcessor
ElementClassHint.DeclarationKind
PsiScopeProcessor.Event
myCurrentFileContext
myName, myPlace, myPlaceFile
myResults
KEY
Modifier | Constructor and Description |
---|---|
|
MethodCandidatesProcessor(PsiElement place,
PsiFile placeFile) |
protected |
MethodCandidatesProcessor(PsiElement place,
PsiFile placeFile,
PsiConflictResolver [] resolvers,
java.util.List<CandidateInfo> container) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
acceptVarargs() |
void |
add(PsiElement element,
PsiSubstitutor substitutor) |
void |
addMethod(PsiMethod method,
PsiSubstitutor substitutor,
boolean staticProblem) |
protected MethodCandidateInfo |
createCandidateInfo(PsiMethod method,
PsiSubstitutor substitutor,
boolean staticProblem,
boolean accessible,
boolean varargs) |
CandidateInfo [] |
getCandidates() |
protected PsiClass |
getContainingClass(PsiMethod method) |
protected boolean |
isAccepted(PsiMethod candidate) |
forceAddResult, getArgumentList, getHint, getLanguageLevel, getTypeArguments, handleEvent, isConstructor, obtainTypeArguments, setAccessClass, setArgumentList, setIsConstructor, shouldProcess
add, execute, getName, getResult, setName, stopAtFoundResult
getResults
protected MethodCandidatesProcessor(PsiElement place, PsiFile placeFile, PsiConflictResolver [] resolvers, java.util.List<CandidateInfo> container)
public MethodCandidatesProcessor(PsiElement place, PsiFile placeFile)
public void add(PsiElement element, PsiSubstitutor substitutor)
add
in class ConflictFilterProcessor
public void addMethod(PsiMethod method, PsiSubstitutor substitutor, boolean staticProblem)
protected boolean acceptVarargs()
protected MethodCandidateInfo createCandidateInfo(PsiMethod method, PsiSubstitutor substitutor, boolean staticProblem, boolean accessible, boolean varargs)
protected boolean isAccepted(PsiMethod candidate)
public CandidateInfo [] getCandidates()