|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.AbstractBugReporter
edu.umd.cs.findbugs.TextUIBugReporter
edu.umd.cs.findbugs.gui.SwingGUIBugReporter
public class SwingGUIBugReporter
BugReporter used by AnalysisRun.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class edu.umd.cs.findbugs.AbstractBugReporter |
---|
AbstractBugReporter.Error |
Field Summary |
---|
Fields inherited from class edu.umd.cs.findbugs.TextUIBugReporter |
---|
outputStream |
Fields inherited from interface edu.umd.cs.findbugs.BugReporter |
---|
NORMAL, SILENT |
Constructor Summary | |
---|---|
SwingGUIBugReporter(AnalysisRun analysisRun)
Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class edu.umd.cs.findbugs.TextUIBugReporter |
---|
checkBugInstance, getRealBugReporter, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodes |
Methods inherited from class edu.umd.cs.findbugs.AbstractBugReporter |
---|
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isValidMissingClassMessage, logError, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setPriorityThreshold, setRankThreshold |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwingGUIBugReporter(AnalysisRun analysisRun)
analysisRun
- Method Detail |
---|
public SortedBugCollection getBugCollection()
public boolean errorsOccurred()
public AnalysisErrorDialog getErrorDialog()
public void observeClass(ClassDescriptor classDescriptor)
IClassObserver
classDescriptor
- class being visitedpublic void reportMissingClass(java.lang.ClassNotFoundException ex)
IErrorLogger
reportMissingClass
in interface IErrorLogger
reportMissingClass
in class AbstractBugReporter
ex
- a ClassNotFoundException resulting from the class lookup failurepublic void logError(java.lang.String message)
IErrorLogger
logError
in interface IErrorLogger
logError
in class AbstractBugReporter
message
- the error messagepublic void finish()
BugReporter
public void doReportBug(BugInstance bugInstance)
AbstractBugReporter
doReportBug
in class AbstractBugReporter
bugInstance
- the bug to reportpublic void reportQueuedErrors()
BugReporter
reportQueuedErrors
in interface BugReporter
reportQueuedErrors
in class TextUIBugReporter
protected void emitLine(java.lang.String line)
TextUIBugReporter
emitLine
in class TextUIBugReporter
line
- one line of the error report
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |