boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, @Nullable PsiElement lastParent, @NotNull PsiElement place) { if (!shouldProcessLocals(processor)) return true; if (lastParent != null && !(getParent() instanceof GrTypeDefinitionBody) && lastParent == getTupleInitializer()) { return true; } for (final GrVariable variable : getVariables()) { if (lastParent == variable) break; if (lastParent instanceof GrMethod && !(variable instanceof GrField)) break; if (!ResolveUtil.processElement(processor, variable, state)) return false; } return true; }