@Contract("null, _ -> false")
  public static boolean canBePatternSwitchCase(@Nullable PsiExpression expression, @NotNull PsiExpression switchExpression) {
    if (expression == null) return false;
    PsiExpression localSwitchExpression = findPatternSwitchExpression(expression);
    if (localSwitchExpression == null && expression instanceof PsiPolyadicExpression polyadicExpression) {
      localSwitchExpression = findSelectorWithComparedPrimitives(polyadicExpression);
    }
    if (localSwitchExpression == null) return false;
    return EquivalenceChecker.getCanonicalPsiEquivalence().expressionsAreEquivalent(localSwitchExpression, switchExpression);
  }
@Contract("null, _ -> false")
  public static boolean canBePatternSwitchCase(@Nullable PsiExpression expression, @NotNull PsiExpression switchExpression)