|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BugReporter
Generic interface for bug reporter objects. A BugReporter accumulates all of the information reported by the analyses, which includes bug reports, and also auxiliary information such as analysis errors, missing classes, and class to source file mapping.
| Field Summary | |
|---|---|
static int |
NORMAL
Normal error-reporting verbosity level. |
static int |
SILENT
Silent error-reporting verbosity level. |
| 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()
Get the real bug reporter at the end of a chain of delegating bug reporters. |
void |
reportBug(BugInstance bugInstance)
Report a bug. |
void |
reportQueuedErrors()
Report any accumulated error messages. |
void |
setErrorVerbosity(int level)
Set the error-reporting verbosity level. |
void |
setPriorityThreshold(int threshold)
Set the priority threshold. |
| Methods inherited from interface edu.umd.cs.findbugs.classfile.IErrorLogger |
|---|
logError, logError, reportMissingClass, reportMissingClass, reportSkippedAnalysis |
| Methods inherited from interface edu.umd.cs.findbugs.classfile.IClassObserver |
|---|
observeClass |
| Field Detail |
|---|
static final int SILENT
static final int NORMAL
| Method Detail |
|---|
void setErrorVerbosity(int level)
level - the verbosity levelvoid setPriorityThreshold(int threshold)
threshold - bug instances must be at least as important as
this priority to be reported
void reportBug(@NonNull
BugInstance bugInstance)
bugInstance - object describing the bug instancevoid finish()
void reportQueuedErrors()
void addObserver(BugReporterObserver observer)
observer - the observerProjectStats getProjectStats()
BugReporter getRealBugReporter()
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||