PsiSwitchLabelStatement (PsiSwitchLabelStatement element) { PsiElement tmp; while ((tmp = PsiTreeUtil.skipWhitespacesBackward(element)) instanceof PsiSwitchLabelStatement) { element = (PsiSwitchLabelStatement)tmp; } return element; }