|
||||||||||
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 RepositoryLookupFailureCallback
reportMissingClass
in class AbstractBugReporter
ex
- a ClassNotFoundException resulting from the failurepublic void logError(java.lang.String message)
RepositoryLookupFailureCallback
logError
in interface RepositoryLookupFailureCallback
logError
in class AbstractBugReporter
message
- the error messagepublic void finish()
BugReporter
public void doReportBug(BugInstance bugInstance)
AbstractBugReporter
doReportBug
in class AbstractBugReporter
public 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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |