Class InsufficientStringBufferDeclarationRule

java.lang.Object
net.sourceforge.pmd.properties.AbstractPropertySource
net.sourceforge.pmd.lang.rule.AbstractRule
net.sourceforge.pmd.lang.java.rule.AbstractJavaRule
net.sourceforge.pmd.lang.java.rule.AbstractJavaRulechainRule
net.sourceforge.pmd.lang.java.rule.performance.InsufficientStringBufferDeclarationRule
All Implemented Interfaces:
net.sourceforge.pmd.lang.ast.AstVisitor, JavaVisitor, net.sourceforge.pmd.lang.rule.Rule, net.sourceforge.pmd.properties.PropertySource

public class InsufficientStringBufferDeclarationRule extends AbstractJavaRulechainRule
This rule finds StringBuffers which may have been pre-sized incorrectly.
Author:
Allan Caplan, Andreas Dangel
See Also:
  • Constructor Details

    • InsufficientStringBufferDeclarationRule

      public InsufficientStringBufferDeclarationRule()
  • Method Details