void (GrExpression expression) { if (isParentArithmetic(expression)) { return; } if (!isArithmetic(expression)) { return; } if (containsStringConcatenation(expression)) { return; } final int numTerms = countTerms(expression); if (numTerms <= getLimit()) { return; } registerError(expression); }