private static boolean isZeroLiteral(PsiExpression expression) {
    if (!(expression instanceof PsiLiteralExpression literal)) return false;
    final Object value = literal.getValue();
    return value instanceof Integer iValue && iValue == 0 ||
           value instanceof Long lValue && lValue == 0L;
  }
private static boolean isZeroLiteral(PsiExpression expression)