edu.umd.cs.findbugs
public abstract class AbstractBugReporter extends Object implements BugReporter
Method Summary | |
---|---|
void | addObserver(BugReporterObserver observer) |
protected abstract void | doReportBug(BugInstance bugInstance)
Subclasses must override this.
|
static String | getMissingClassName(ClassNotFoundException ex) |
ProjectStats | getProjectStats() |
void | logError(String message) |
void | logError(String message, Throwable e) |
protected void | notifyObservers(BugInstance bugInstance)
This should be called when a bug is reported by a subclass.
|
abstract void | reportAnalysisError(AnalysisError error)
Report a queued error.
|
void | reportBug(BugInstance bugInstance) |
void | reportMissingClass(ClassNotFoundException ex) |
void | reportMissingClass(ClassDescriptor classDescriptor) |
abstract void | reportMissingClass(String string)
Report a missing class.
|
void | reportQueuedErrors() |
void | reportSkippedAnalysis(MethodDescriptor method)
Report that we skipped some analysis of a method |
void | setErrorVerbosity(int level) |
void | setPriorityThreshold(int threshold) |
Parameters: bugInstance the bug to report
Parameters: bugInstance the bug to inform observers of
Parameters: error the queued error
Parameters: string the name of the class
Parameters: method