|
FindBugs™ 1.3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.BugAccumulator
public class BugAccumulator
Accumulate warnings that may occur at multiple source locations, consolidating them into a single warning.
Constructor Summary | |
---|---|
BugAccumulator(BugReporter reporter)
Constructor. |
Method Summary | |
---|---|
void |
accumulateBug(BugInstance bug,
BytecodeScanningDetector visitor)
Accumulate a warning at source location currently being visited by given BytecodeScanningDetector. |
void |
accumulateBug(BugInstance bug,
SourceLineAnnotation sourceLine)
Accumulate a warning at given source location. |
java.lang.Iterable<? extends SourceLineAnnotation> |
locations(BugInstance bug)
|
void |
reportAccumulatedBugs()
Report accumulated warnings to the BugReporter. |
java.lang.Iterable<? extends BugInstance> |
uniqueBugs()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BugAccumulator(BugReporter reporter)
reporter
- the BugReporter to which warnings should eventually be reportedMethod Detail |
---|
public void accumulateBug(BugInstance bug, SourceLineAnnotation sourceLine)
bug
- the warningsourceLine
- the source locationpublic void accumulateBug(BugInstance bug, BytecodeScanningDetector visitor)
bug
- the warningvisitor
- the BytecodeScanningDetectorpublic java.lang.Iterable<? extends BugInstance> uniqueBugs()
public java.lang.Iterable<? extends SourceLineAnnotation> locations(BugInstance bug)
public void reportAccumulatedBugs()
|
FindBugs™ 1.3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |