public class MethodResolveProcessor extends java.lang.Object implements PsiScopeProcessor, ElementClassHint, NameHint
PsiScopeProcessor.Event
ElementClassHint.DeclarationKind
KEY
Constructor and Description |
---|
MethodResolveProcessor() |
MethodResolveProcessor(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PsiElement element,
ResolveState state) |
static PsiMethod[] |
findMethod(PsiClass psiClass,
java.lang.String methodName) |
static PsiMethod[] |
getAllMethods(PsiClass psiClass) |
<T> T |
getHint(Key<T> hintKey) |
PsiMethod[] |
getMethods() |
java.lang.String |
getName(ResolveState state) |
boolean |
shouldProcess(ElementClassHint.DeclarationKind kind) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
handleEvent
public MethodResolveProcessor()
public MethodResolveProcessor(java.lang.String name)
public PsiMethod[] getMethods()
public boolean execute(PsiElement element, ResolveState state)
execute
in interface PsiScopeProcessor
element
- candidate element.state
- current state of resolver.public <T> T getHint(Key<T> hintKey)
getHint
in interface PsiScopeProcessor
public boolean shouldProcess(ElementClassHint.DeclarationKind kind)
shouldProcess
in interface ElementClassHint
public java.lang.String getName(ResolveState state)