edu.umd.cs.findbugs
public class BugAccumulator extends Object
Constructor Summary | |
---|---|
BugAccumulator(BugReporter reporter)
Constructor.
|
Method Summary | |
---|---|
void | accumulateBug(BugInstance bug, SourceLineAnnotation sourceLine)
Accumulate a warning at given source location.
|
void | accumulateBug(BugInstance bug, BytecodeScanningDetector visitor)
Accumulate a warning at source location currently being visited by
given BytecodeScanningDetector.
|
Iterator<Entry<BugInstance,List<SourceLineAnnotation>>> | entrySetIterator()
Get an Iterator over the BugAccumulator's map entry set.
|
void | reportAccumulatedBugs()
Report accumulated warnings to the BugReporter.
|
Parameters: reporter the BugReporter to which warnings should eventually be reported
Parameters: bug the warning sourceLine the source location
Parameters: bug the warning visitor the BytecodeScanningDetector
Returns: an Iterator over the BugAccumulator's map entry set