Class StringConcatenation

All Implemented Interfaces:
Detector, Priorities, StatelessDetector, Cloneable, org.apache.bcel.classfile.Visitor

public class StringConcatenation extends OpcodeStackDetector implements StatelessDetector
Find occurrences of using the String "+" or "+=" operators within a loop. This is much less efficient than creating a dedicated StringBuffer object outside the loop, and then appending to it.
Author:
Dave Brosius, William Pugh