boolean (PsiExpression expression) { final LongRangeSet range = CommonDataflow.getExpressionRange(expression); if (range != null && !range.isEmpty() && range.min() >= -128 && range.max() <= 127) { return true; } final Object value = ExpressionUtils.computeConstantExpression(expression); if (value instanceof Number number) { final int l = number.intValue(); if (l >= -128 && l <= 127) { return true; } } else if (value instanceof Character character) { final char c = character.charValue(); if (c <= 127) { return true; } } return false; }