public static boolean isZero(@Nullable PsiExpression expression) {
    if (expression == null) {
      return false;
    }
    final Object value = computeConstantExpression(expression);
    if (value == null) {
      return false;
    }
    return value instanceof Double dValue && dValue == 0.0 ||
           value instanceof Float fValue && fValue == 0.0f ||
           value instanceof Integer iValue && iValue == 0 ||
           value instanceof Long lValue && lValue == 0L ||
           value instanceof Short sValue && sValue == 0 ||
           value instanceof Character cValue && cValue == 0 ||
           value instanceof Byte bValue && bValue == 0;
  }
public static boolean isZero(@Nullable PsiExpression expression)