Debug, RepositoryLookupFailureCallback, BugReporter, IClassObserver, IErrorLoggerHTMLBugReporter, XMLBugReporterpublic class BugCollectionBugReporter extends TextUIBugReporter implements Debug
AbstractBugReporter.ErrorNORMAL, SILENTVERIFY_INTEGRITYoutputStream| Constructor | Description |
|---|---|
BugCollectionBugReporter(Project project) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
doReportBug(BugInstance bugInstance) |
Subclasses must override this.
|
void |
finish() |
Finish reporting bugs.
|
BugCollection |
getBugCollection() |
|
Project |
getProject() |
|
BugReporter |
getRealBugReporter() |
Get the real bug reporter at the end of a chain of delegating bug reporters.
|
void |
logError(java.lang.String message) |
Log an error that occurs while performing analysis.
|
void |
logError(java.lang.String message,
java.lang.Throwable e) |
Log an error that occurs while performing analysis.
|
void |
observeClass(ClassDescriptor classDescriptor) |
Observe a class being visited.
|
void |
reportMissingClass(java.lang.ClassNotFoundException ex) |
Called to report a class lookup failure.
|
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isValidMissingClassMessage, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold, setRankThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckBugInstance, emitLine, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, reportQueuedErrors, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodespublic BugCollectionBugReporter(Project project)
public Project getProject()
public BugCollection getBugCollection()
public void observeClass(ClassDescriptor classDescriptor)
IClassObserverobserveClass in interface IClassObserverclassDescriptor - class being visitedpublic void logError(java.lang.String message)
IErrorLoggerlogError in interface IErrorLoggerlogError in class AbstractBugReportermessage - the error messagepublic void logError(java.lang.String message,
java.lang.Throwable e)
IErrorLoggerlogError in interface IErrorLoggerlogError in class AbstractBugReportermessage - the error messagee - the exception which is the underlying cause of the errorpublic void reportMissingClass(java.lang.ClassNotFoundException ex)
IErrorLoggerreportMissingClass in interface IErrorLoggerreportMissingClass in class AbstractBugReporterex - a ClassNotFoundException resulting from the class lookup failurepublic void doReportBug(BugInstance bugInstance)
AbstractBugReporterdoReportBug in class AbstractBugReporterbugInstance - the bug to reportpublic BugReporter getRealBugReporter()
BugReportergetRealBugReporter in interface BugReportergetRealBugReporter in class TextUIBugReporterpublic void finish()
BugReporterfinish in interface BugReporterFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.