public class SymbolCollectingProcessor extends java.lang.Object implements PsiScopeProcessor, ElementClassHint
Modifier and Type | Class and Description |
---|---|
static class |
SymbolCollectingProcessor.ResultWithContext |
PsiScopeProcessor.Event
ElementClassHint.DeclarationKind
KEY
Constructor and Description |
---|
SymbolCollectingProcessor() |
Modifier and Type | Method and Description |
---|---|
boolean |
execute(PsiElement element,
ResolveState state) |
<T> T |
getHint(Key<T> hintKey) |
MostlySingularMultiMap<java.lang.String,SymbolCollectingProcessor.ResultWithContext> |
getResults() |
void |
handleEvent(PsiScopeProcessor.Event event,
java.lang.Object associated) |
boolean |
shouldProcess(ElementClassHint.DeclarationKind kind) |
public <T> T getHint(Key<T> hintKey)
getHint
in interface PsiScopeProcessor
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 boolean shouldProcess(ElementClassHint.DeclarationKind kind)
shouldProcess
in interface ElementClassHint
public MostlySingularMultiMap<java.lang.String,SymbolCollectingProcessor.ResultWithContext> getResults()