boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, PsiElement lastParent, @NotNull PsiElement place) { if (lastParent == null || lastParent.getParent() != this){ PsiElement[] children = getChildren(); for (PsiElement aChildren : children) { if (!aChildren.processDeclarations(processor, state, null, place)) { return false; } } } return true; }