private static boolean hasNullCase(@NotNull PsiSwitchLabelStatementBase label) {
      PsiCaseLabelElementList labelElementList = label.getCaseLabelElementList();
      if (labelElementList == null) return false;
      PsiCaseLabelElement[] elements = labelElementList.getElements();
      return ContainerUtil.exists(elements, el -> el instanceof PsiExpression expr && ExpressionUtils.isNullLiteral(expr));
    }
private static boolean hasNullCase(@NotNull PsiSwitchLabelStatementBase label)