RepositoryLookupFailureCallback, BugReporter, IClassObserver, IErrorLoggerpublic class SwingGUIBugReporter extends TextUIBugReporter
AbstractBugReporter.ErrorNORMAL, SILENToutputStream| Constructor | Description |
|---|---|
SwingGUIBugReporter(AnalysisRun analysisRun) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
doReportBug(BugInstance bugInstance) |
Subclasses must override this.
|
protected void |
emitLine(java.lang.String line) |
Emit one line of the error message report.
|
boolean |
errorsOccurred() |
|
void |
finish() |
Finish reporting bugs.
|
SortedBugCollection |
getBugCollection() |
|
AnalysisErrorDialog |
getErrorDialog() |
|
void |
logError(java.lang.String message) |
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.
|
void |
reportQueuedErrors() |
Report any accumulated error messages.
|
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isValidMissingClassMessage, logError, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold, setRankThresholdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckBugInstance, getRealBugReporter, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodespublic SwingGUIBugReporter(AnalysisRun analysisRun)
analysisRun - public SortedBugCollection getBugCollection()
public boolean errorsOccurred()
public AnalysisErrorDialog getErrorDialog()
public void observeClass(ClassDescriptor classDescriptor)
IClassObserverclassDescriptor - class being visitedpublic void reportMissingClass(java.lang.ClassNotFoundException ex)
IErrorLoggerreportMissingClass in interface IErrorLoggerreportMissingClass in class AbstractBugReporterex - a ClassNotFoundException resulting from the class lookup failurepublic void logError(java.lang.String message)
IErrorLoggerlogError in interface IErrorLoggerlogError in class AbstractBugReportermessage - the error messagepublic void finish()
BugReporterpublic void doReportBug(BugInstance bugInstance)
AbstractBugReporterdoReportBug in class AbstractBugReporterbugInstance - the bug to reportpublic void reportQueuedErrors()
BugReporterreportQueuedErrors in interface BugReporterreportQueuedErrors in class TextUIBugReporterprotected void emitLine(java.lang.String line)
TextUIBugReporteremitLine in class TextUIBugReporterline - one line of the error reportFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.