boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, PsiElement lastParent, @NotNull PsiElement place) { processor.handleEvent(PsiScopeProcessor.Event.SET_DECLARATION_HOLDER, this); PsiPatternVariable variable = getPatternVariable(); if (variable != null && variable != lastParent && !variable.isUnnamed()) { return processor.execute(variable, state); } return true; }