Code inspection: Possible overflow
This inspection reports arithmetic on int values that can overflow. Overflow means the computed value does not fit into the int range.
Example
int itemCount = 50_000;
int price = 50_000;
int total = itemCount * price;
The multiplication result does not fit into int.
How to fix it
There is no dedicated quick-fix for this inspection. Typical fixes are to use a wider type, validate the input range, or make the overflow behavior explicit.
int itemCount = 50_000;
int price = 50_000;
long total = (long)itemCount * price;
01 April 2026