|
||||||||||
| 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.
| 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(org.apache.bcel.classfile.JavaClass javaClass)
Observe a class. |
void |
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a lookup failure. |
void |
reportQueuedErrors()
Report any accumulated error messages. |
| Methods inherited from class edu.umd.cs.findbugs.TextUIBugReporter |
|---|
checkBugInstance, getRealBugReporter, getUseLongBugCodes, printBug, reportAnalysisError, reportMissingClass, setOutputStream, setReportStackTrace, setUseLongBugCodes |
| Methods inherited from class edu.umd.cs.findbugs.AbstractBugReporter |
|---|
addObserver, getEngine, getMissingClassName, getProjectStats, logError, notifyObservers, reportBug, reportSkippedAnalysis, setEngine, setErrorVerbosity, setPriorityThreshold |
| 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(org.apache.bcel.classfile.JavaClass javaClass)
ClassObserver
javaClass - the classpublic void reportMissingClass(java.lang.ClassNotFoundException ex)
RepositoryLookupFailureCallback
reportMissingClass in interface RepositoryLookupFailureCallbackreportMissingClass in class AbstractBugReporterex - a ClassNotFoundException resulting from the failurepublic void logError(java.lang.String message)
RepositoryLookupFailureCallback
logError in interface RepositoryLookupFailureCallbacklogError in class AbstractBugReportermessage - the error messagepublic void finish()
BugReporter
public void doReportBug(BugInstance bugInstance)
AbstractBugReporter
doReportBug in class AbstractBugReporterpublic void reportQueuedErrors()
BugReporter
reportQueuedErrors in interface BugReporterreportQueuedErrors in class TextUIBugReporterprotected void emitLine(java.lang.String line)
TextUIBugReporter
emitLine in class TextUIBugReporterline - one line of the error report
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||