edu.umd.cs.findbugs.ba.bcp
public class PatternMatcher extends Object implements DFSEdgeTypes
This code is a hack and should probably be rewritten.
See Also: ByteCodePattern
Constructor Summary | |
---|---|
PatternMatcher(ByteCodePattern pattern, ClassContext classContext, Method method)
Constructor.
|
Method Summary | |
---|---|
Iterator<ByteCodePatternMatch> | byteCodePatternMatchIterator()
Return an Iterator over the ByteCodePatternMatch objects representing
successful matches of the ByteCodePattern. |
PatternMatcher | execute()
Search for examples of the ByteCodePattern.
|
Parameters: pattern the ByteCodePattern to look for examples of classContext ClassContext for the class to analyze method the Method to analyze
Returns: this object
Throws: DataflowAnalysisException if the ValueNumberAnalysis did not produce useful values for the method