Uses of Interface
net.sourceforge.pmd.reporting.FileAnalysisListener
-
Packages that use FileAnalysisListener Package Description net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
Uses of FileAnalysisListener in net.sourceforge.pmd.reporting
Classes in net.sourceforge.pmd.reporting that implement FileAnalysisListener Modifier and Type Class Description static class
Report.ReportBuilderListener
AFileAnalysisListener
that accumulates events into aReport
.Methods in net.sourceforge.pmd.reporting that return FileAnalysisListener Modifier and Type Method Description static FileAnalysisListener
FileAnalysisListener. noop()
A listener that does nothing.FileAnalysisListener
GlobalAnalysisListener. startFileAnalysis(TextFile file)
Returns a file listener that will handle events occurring during the analysis of the given file.FileAnalysisListener
GlobalAnalysisListener.ViolationCounterListener. startFileAnalysis(TextFile file)
FileAnalysisListener
Report.GlobalReportBuilderListener. startFileAnalysis(TextFile file)
FileAnalysisListener
ReportStatsListener. startFileAnalysis(TextFile file)
static FileAnalysisListener
FileAnalysisListener. tee(Collection<? extends FileAnalysisListener> listeners)
Produce an analysis listener that forwards all events to the given listeners.Methods in net.sourceforge.pmd.reporting with parameters of type FileAnalysisListener Modifier and Type Method Description static RuleContext
InternalApiBridge. createRuleContext(FileAnalysisListener listener, Rule rule)
Create a new RuleContext.Method parameters in net.sourceforge.pmd.reporting with type arguments of type FileAnalysisListener Modifier and Type Method Description static Report
Report. buildReport(Consumer<? super FileAnalysisListener> lambda)
Create a report by making side effects on aFileAnalysisListener
.static FileAnalysisListener
FileAnalysisListener. tee(Collection<? extends FileAnalysisListener> listeners)
Produce an analysis listener that forwards all events to the given listeners.
-