public class ClassResolverProcessor extends java.lang.Object implements PsiScopeProcessor, NameHint, ElementClassHint
PsiScopeProcessor.Event
ElementClassHint.DeclarationKind
KEY
Constructor and Description |
---|
ClassResolverProcessor(java.lang.String className,
PsiElement startPlace,
PsiFile containingFile) |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PsiElement element,
ResolveState state) |
<T> T |
getHint(Key<T> hintKey) |
java.lang.String |
getName(ResolveState state) |
JavaResolveResult [] |
getResult() |
void |
handleEvent(PsiScopeProcessor.Event event,
java.lang.Object associated) |
boolean |
shouldProcess(ElementClassHint.DeclarationKind kind) |
public ClassResolverProcessor(java.lang.String className, PsiElement startPlace, PsiFile containingFile)
public JavaResolveResult [] getResult()
public java.lang.String getName(ResolveState state)
public boolean shouldProcess(ElementClassHint.DeclarationKind kind)
shouldProcess
in interface ElementClassHint
public void handleEvent(PsiScopeProcessor.Event event, java.lang.Object associated)
handleEvent
in interface PsiScopeProcessor
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