private static @Nullable PsiElement stripParensIfNecessary(@NotNull PsiCaseLabelElement element) {
    return element instanceof PsiExpression
           ? PsiUtil.skipParenthesizedExprDown((PsiExpression)element)
           : element;
  }
private static @Nullable PsiElement stripParensIfNecessary(@NotNull PsiCaseLabelElement element)