void (@NotNull PsiMethodCallExpression expression) { super.visitMethodCallExpression(expression); final EqualityCheck check = EqualityCheck.from(expression); if (check == null) return; final PsiExpression left = check.getLeft(); final PsiExpression right = check.getRight(); if (!ExpressionUtils.hasType(left, "java.math.BigDecimal")) return; if (!ExpressionUtils.hasType(right, "java.math.BigDecimal")) return; if (ExpressionUtils.isVoidContext(expression)) { // otherwise the quickfix will produce uncompilable code (out of merely incorrect code). return; } registerMethodCallError(expression); }