public class MethodResolveProcessor extends java.lang.Object implements PsiScopeProcessor, ElementClassHint, NameHint
PsiScopeProcessor.EventElementClassHint.DeclarationKindKEY| 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, waithandleEventpublic MethodResolveProcessor()
public MethodResolveProcessor(java.lang.String name)
public PsiMethod[] getMethods()
public boolean execute(PsiElement element, ResolveState state)
execute in interface PsiScopeProcessorelement - candidate element.state - current state of resolver.public <T> T getHint(Key<T> hintKey)
getHint in interface PsiScopeProcessorpublic boolean shouldProcess(ElementClassHint.DeclarationKind kind)
shouldProcess in interface ElementClassHintpublic java.lang.String getName(ResolveState state)