public class VariableResolverProcessor extends ConflictFilterProcessor implements ElementClassHint
ElementClassHint.DeclarationKindPsiScopeProcessor.EventmyName, myPlace, myPlaceFilemyResultsKEY| Constructor and Description |
|---|
VariableResolverProcessor(PsiJavaCodeReferenceElement place,
PsiFile placeFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PsiElement element,
PsiSubstitutor substitutor) |
boolean |
execute(PsiElement element,
ResolveState state) |
<T> T |
getHint(Key<T> hintKey) |
void |
handleEvent(PsiScopeProcessor.Event event,
java.lang.Object associated) |
boolean |
shouldProcess(ElementClassHint.DeclarationKind kind) |
protected boolean |
stopAtFoundResult(JavaResolveResult cachedResult) |
add, getName, getResult, setNamegetResultspublic VariableResolverProcessor(PsiJavaCodeReferenceElement place, PsiFile placeFile)
protected boolean stopAtFoundResult(JavaResolveResult cachedResult)
stopAtFoundResult in class ConflictFilterProcessorpublic final void handleEvent(PsiScopeProcessor.Event event, java.lang.Object associated)
handleEvent in interface PsiScopeProcessorhandleEvent in class ConflictFilterProcessorpublic void add(PsiElement element, PsiSubstitutor substitutor)
add in class ConflictFilterProcessorpublic boolean shouldProcess(ElementClassHint.DeclarationKind kind)
shouldProcess in interface ElementClassHintpublic boolean execute(PsiElement element, ResolveState state)
execute in interface PsiScopeProcessorexecute in class ConflictFilterProcessorelement - candidate element.state - current state of resolver.public <T> T getHint(Key<T> hintKey)
getHint in interface PsiScopeProcessorgetHint in class ConflictFilterProcessor