Uses of Interface
net.sourceforge.pmd.RuleViolation
-
Packages that use RuleViolation Package Description net.sourceforge.pmd This is the PMD programming mistake detector.net.sourceforge.pmd.cache The violation caching system.net.sourceforge.pmd.lang.dfa.report net.sourceforge.pmd.lang.rule net.sourceforge.pmd.renderers net.sourceforge.pmd.renderers.internal.sarif -
-
Uses of RuleViolation in net.sourceforge.pmd
Fields in net.sourceforge.pmd with type parameters of type RuleViolation Modifier and Type Field Description static Comparator<RuleViolation>
RuleViolation. DEFAULT_COMPARATOR
A comparator for rule violations.Methods in net.sourceforge.pmd that return RuleViolation Modifier and Type Method Description RuleViolation
Report.SuppressedViolation. getRuleViolation()
Methods in net.sourceforge.pmd that return types with arguments of type RuleViolation Modifier and Type Method Description List<RuleViolation>
Report. getViolations()
Returns an unmodifiable list of violations that have been recorded until now.Iterator<RuleViolation>
Report. iterator()
Deprecated.Iterator<RuleViolation>
Report. treeIterator()
Deprecated.TheReportTree
is deprecatedMethods in net.sourceforge.pmd with parameters of type RuleViolation Modifier and Type Method Description void
Report. addRuleViolation(RuleViolation violation)
Deprecated.PMD's way of creating a report is internal and may be changed in pmd 7.int
RuleViolationComparator. compare(RuleViolation r1, RuleViolation r2)
Deprecated.void
ThreadSafeReportListener. ruleViolationAdded(RuleViolation ruleViolation)
Deprecated.A new violation has been found.Method parameters in net.sourceforge.pmd with type arguments of type RuleViolation Modifier and Type Method Description Report
Report. filterViolations(Predicate<RuleViolation> filter)
Creates a new report taking all the information from this report, but filtering the violations.Constructors in net.sourceforge.pmd with parameters of type RuleViolation Constructor Description SuppressedViolation(RuleViolation rv, boolean isNOPMD, String userMessage)
Creates a suppressed violation. -
Uses of RuleViolation in net.sourceforge.pmd.cache
Classes in net.sourceforge.pmd.cache that implement RuleViolation Modifier and Type Class Description class
CachedRuleViolation
Deprecated.This is internal API, will be hidden with 7.0.0Methods in net.sourceforge.pmd.cache that return types with arguments of type RuleViolation Modifier and Type Method Description List<RuleViolation>
AbstractAnalysisCache. getCachedViolations(File sourceFile)
Deprecated.List<RuleViolation>
AnalysisCache. getCachedViolations(File sourceFile)
Deprecated.Retrieves cached violations for the given file.List<RuleViolation>
NoopAnalysisCache. getCachedViolations(File sourceFile)
Deprecated.List<RuleViolation>
AnalysisResult. getViolations()
Deprecated.Methods in net.sourceforge.pmd.cache with parameters of type RuleViolation Modifier and Type Method Description void
AnalysisResult. addViolation(RuleViolation ruleViolation)
Deprecated.void
AbstractAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)
Deprecated.void
NoopAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)
Deprecated.Method parameters in net.sourceforge.pmd.cache with type arguments of type RuleViolation Modifier and Type Method Description void
AnalysisResult. addViolations(List<RuleViolation> violations)
Deprecated.Constructor parameters in net.sourceforge.pmd.cache with type arguments of type RuleViolation Constructor Description AnalysisResult(long fileChecksum, List<RuleViolation> violations)
Deprecated. -
Uses of RuleViolation in net.sourceforge.pmd.lang.dfa.report
Methods in net.sourceforge.pmd.lang.dfa.report that return RuleViolation Modifier and Type Method Description RuleViolation
ViolationNode. getRuleViolation()
Deprecated.Methods in net.sourceforge.pmd.lang.dfa.report that return types with arguments of type RuleViolation Modifier and Type Method Description Iterator<RuleViolation>
ReportTree. iterator()
Deprecated.Methods in net.sourceforge.pmd.lang.dfa.report with parameters of type RuleViolation Modifier and Type Method Description void
ReportTree. addRuleViolation(RuleViolation violation)
Deprecated.Adds the RuleViolation to the tree.Constructors in net.sourceforge.pmd.lang.dfa.report with parameters of type RuleViolation Constructor Description ViolationNode(RuleViolation violation)
Deprecated. -
Uses of RuleViolation in net.sourceforge.pmd.lang.rule
Classes in net.sourceforge.pmd.lang.rule that implement RuleViolation Modifier and Type Class Description class
ParametricRuleViolation<T extends Node>
Deprecated.This is internal.Methods in net.sourceforge.pmd.lang.rule that return RuleViolation Modifier and Type Method Description protected abstract RuleViolation
AbstractRuleViolationFactory. createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)
protected abstract RuleViolation
AbstractRuleViolationFactory. createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message, int beginLine, int endLine)
-
Uses of RuleViolation in net.sourceforge.pmd.renderers
Method parameters in net.sourceforge.pmd.renderers with type arguments of type RuleViolation Modifier and Type Method Description abstract void
AbstractIncrementingRenderer. renderFileViolations(Iterator<RuleViolation> violations)
Render a series ofRuleViolation
s.void
CodeClimateRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
CSVRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
EmacsRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
HTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
IDEAJRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
JsonRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
SarifRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
TextPadRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
TextRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
VBHTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
void
XMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
-
Uses of RuleViolation in net.sourceforge.pmd.renderers.internal.sarif
Methods in net.sourceforge.pmd.renderers.internal.sarif with parameters of type RuleViolation Modifier and Type Method Description SarifLogBuilder
SarifLogBuilder. add(RuleViolation violation)
-