public class PrintingBugReporter extends TextUIBugReporter
AbstractBugReporter.Error
outputStream
NORMAL, SILENT
Constructor and Description |
---|
PrintingBugReporter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doReportBug(BugInstance bugInstance)
Subclasses must override this.
|
void |
finish()
Finish reporting bugs.
|
BugCollection |
getBugCollection()
Get the bug collection (if any) associated with this bug reporter
|
static void |
main(java.lang.String[] args) |
void |
observeClass(ClassDescriptor classDescriptor)
Observe a class being visited.
|
static void |
xslt(java.lang.String stylesheet,
boolean applySuppression,
java.lang.String[] args,
int argCount) |
checkBugInstance, emitLine, getRealBugReporter, getUseLongBugCodes, isApplySuppressions, printBug, reportAnalysisError, reportMissingClass, reportQueuedErrors, setApplySuppressions, setOutputStream, setReportHistory, setReportStackTrace, setReportUserDesignations, setShowRank, setUseLongBugCodes, setWriter
addObserver, getMissingClasses, getMissingClassName, getProjectStats, getQueuedErrors, isRelaxed, isValidMissingClassMessage, logError, logError, notifyObservers, reportBug, reportBugsFromXml, reportMissingClass, reportMissingClass, reportSkippedAnalysis, setErrorVerbosity, setIsRelaxed, setPriorityThreshold, setRankThreshold
public void observeClass(ClassDescriptor classDescriptor)
IClassObserver
classDescriptor
- class being visitedprotected void doReportBug(BugInstance bugInstance)
AbstractBugReporter
doReportBug
in class AbstractBugReporter
bugInstance
- the bug to reportpublic void finish()
BugReporter
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public static void xslt(java.lang.String stylesheet, boolean applySuppression, java.lang.String[] args, int argCount) throws java.lang.Exception
java.lang.Exception
@CheckForNull public BugCollection getBugCollection()
BugReporter
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.