PsiCaseLabelElement (@Nullable PsiCaseLabelElement element) { if (element instanceof PsiPattern) { return JavaPsiPatternUtil.skipParenthesizedPatternDown((PsiPattern)element); } if (element instanceof PsiExpression) { return PsiUtil.skipParenthesizedExprDown((PsiExpression)element); } return element; }