|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.umd.cs.findbugs.DelegatingBugReporter
public class DelegatingBugReporter
A BugReporter which delegates all method calls to another BugReporter. This is useful for customizing the behavior of another bug reporter.
| Field Summary | |
|---|---|
private BugReporter |
realBugReporter
|
| Fields inherited from interface edu.umd.cs.findbugs.BugReporter |
|---|
NORMAL, SILENT |
| Constructor Summary | |
|---|---|
DelegatingBugReporter(BugReporter realBugReporter)
|
|
| Method Summary | |
|---|---|
void |
addObserver(BugReporterObserver observer)
Add an observer. |
void |
finish()
Finish reporting bugs. |
ProjectStats |
getProjectStats()
Get ProjectStats object used to store statistics about the overall project being analyzed. |
BugReporter |
getRealBugReporter()
|
void |
logError(java.lang.String message)
Log an error that occurs while looking for bugs. |
void |
observeClass(org.apache.bcel.classfile.JavaClass javaClass)
Observe a class. |
void |
reportBug(BugInstance bugInstance)
Report a bug. |
void |
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a lookup failure. |
void |
reportQueuedErrors()
Report any accumulated error messages. |
void |
setEngine(FindBugs engine)
Called to give the BugReporter a reference to the FindBugs engine object. |
void |
setErrorVerbosity(int level)
Set the error-reporting verbosity level. |
void |
setPriorityThreshold(int threshold)
Set the priority threshold. |
void |
setRealBugReporter(BugReporter realBugReporter)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BugReporter realBugReporter
| Constructor Detail |
|---|
public DelegatingBugReporter(BugReporter realBugReporter)
| Method Detail |
|---|
public BugReporter getRealBugReporter()
public void setRealBugReporter(BugReporter realBugReporter)
public void setEngine(FindBugs engine)
BugReporter
setEngine in interface BugReporterengine - the FindBugs engine objectpublic void setErrorVerbosity(int level)
BugReporter
setErrorVerbosity in interface BugReporterlevel - the verbosity levelpublic void setPriorityThreshold(int threshold)
BugReporter
setPriorityThreshold in interface BugReporterthreshold - bug instances must be at least as important as
this priority to be reportedpublic void observeClass(org.apache.bcel.classfile.JavaClass javaClass)
ClassObserver
observeClass in interface ClassObserverjavaClass - the classpublic void reportBug(BugInstance bugInstance)
BugReporter
reportBug in interface BugReporterbugInstance - object describing the bug instancepublic void logError(java.lang.String message)
BugReporter
logError in interface BugReportermessage - the error messagepublic void reportMissingClass(java.lang.ClassNotFoundException ex)
RepositoryLookupFailureCallback
reportMissingClass in interface RepositoryLookupFailureCallbackex - a ClassNotFoundException resulting from the failurepublic void finish()
BugReporter
finish in interface BugReporterpublic void reportQueuedErrors()
BugReporter
reportQueuedErrors in interface BugReporterpublic void addObserver(BugReporterObserver observer)
BugReporter
addObserver in interface BugReporterobserver - the observerpublic ProjectStats getProjectStats()
BugReporter
getProjectStats in interface BugReporter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||