void (long result, long l, long r, PsiElement expression) { if (!myThrowExceptionOnOverflow) return; if (r == 0 || l == 0) return; if (result / r != l || ((l < 0) ^ (r < 0) != (result < 0))) throw new ConstantEvaluationOverflowException(expression); }