edu.umd.cs.findbugs
Class BugCollectionBugReporter
java.lang.Object
edu.umd.cs.findbugs.AbstractBugReporter
edu.umd.cs.findbugs.TextUIBugReporter
edu.umd.cs.findbugs.BugCollectionBugReporter
- All Implemented Interfaces:
- ClassObserver, RepositoryLookupFailureCallback, BugReporter
- Direct Known Subclasses:
- HTMLBugReporter, XMLBugReporter
public abstract class BugCollectionBugReporter
- extends TextUIBugReporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bugCollection
private SortedBugCollection bugCollection
project
private Project project
BugCollectionBugReporter
public BugCollectionBugReporter(Project project)
getProject
public Project getProject()
getBugCollection
public BugCollection getBugCollection()
observeClass
public void observeClass(org.apache.bcel.classfile.JavaClass javaClass)
- Description copied from interface:
ClassObserver
- Observe a class.
- Parameters:
javaClass
- the class
logError
public void logError(java.lang.String message)
- Description copied from interface:
BugReporter
- Log an error that occurs while looking for bugs.
- Specified by:
logError
in interface BugReporter
- Overrides:
logError
in class AbstractBugReporter
- Parameters:
message
- the error message
reportMissingClass
public void reportMissingClass(java.lang.ClassNotFoundException ex)
- Description copied from interface:
RepositoryLookupFailureCallback
- Called to report a lookup failure.
- Specified by:
reportMissingClass
in interface RepositoryLookupFailureCallback
- Overrides:
reportMissingClass
in class AbstractBugReporter
- Parameters:
ex
- a ClassNotFoundException resulting from the failure
doReportBug
public void doReportBug(BugInstance bugInstance)
- Description copied from class:
AbstractBugReporter
- Subclasses must override this.
It will be called only for bugs which meet the priority threshold.
- Specified by:
doReportBug
in class AbstractBugReporter
generateSummary
protected void generateSummary()