public class BugCollectionBugReporter extends TextUIBugReporter implements Debug
AbstractBugReporter.ErroroutputStreamVERIFY_INTEGRITYNORMAL, SILENT| Constructor and Description |
|---|
BugCollectionBugReporter(Project project) |
BugCollectionBugReporter(Project project,
java.io.PrintWriter writer) |
| Modifier and Type | Method and Description |
|---|---|
void |
doReportBug(BugInstance bugInstance)
Subclasses must override this.
|
protected void |
emitLine(java.lang.String line)
Emit one line of the error message report.
|
void |
finish()
Finish reporting bugs.
|
BugCollection |
getBugCollection()
Get the bug collection (if any) associated with this bug reporter
|
Project |
getProject() |
BugReporter |
getRealBugReporter() |
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.
|
checkBugInstance, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, reportQueuedErrors, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodes, setWriteraddObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isRelaxed, isValidMissingClassMessage, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setIsRelaxed, setPriorityThreshold, setRankThresholdpublic BugCollectionBugReporter(Project project)
public BugCollectionBugReporter(Project project, @CheckForNull java.io.PrintWriter writer)
public Project getProject()
@Nonnull public BugCollection getBugCollection()
BugReportergetBugCollection in interface BugReporterpublic 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()
getRealBugReporter in class TextUIBugReporterpublic void finish()
BugReporterfinish in interface BugReporterprotected void emitLine(java.lang.String line)
emitLine in class TextUIBugReporterline - one line of the error reportFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.