boolean (@NotNull PsiScopeProcessor processor, @NotNull ResolveState state, PsiElement lastParent, @NotNull PsiElement place) { if (oneOfElements(place)) return true; for (PsiCaseLabelElement label : getElements()) { boolean shouldKeepGoing = label.processDeclarations(processor, state, null, place); if (!shouldKeepGoing) return false; } return true; }