Division by zero
Reports division by zero or remainder by zero. Such expressions will produce an
NaN result for doubles or floats, and will throw an
ArithmeticException for integers.
When the expression has a
NaN result, the fix suggests replacing the division expression with the
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3