void (@NotNull PsiExpression expression) { if (!PsiTypes.longType().equals(ExpectedTypeUtils.findExpectedType(expression, true))) return; if (isInAssertEqualsLong(expression)) return; LocalQuickFix[] fixes = null; if (expression instanceof PsiLiteralExpression) { fixes = new LocalQuickFix[]{ new AddLongSuffixFix(), new ConvertToLongFix() }; } holder.registerProblem(expression, InspectionGadgetsBundle.message("negative.int.constant.in.long.context.display.name"), fixes); }