Class InefficientStringBufferingRule

All Implemented Interfaces:
AstVisitor, JavaVisitor, Rule, PropertySource

public class InefficientStringBufferingRule extends AbstractJavaRulechainRule
How this rule works: find additive expressions: + check that the addition is between anything other than two literals if true and also the parent is StringBuffer constructor or append, report a violation.
Author:
mgriffa