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 net.sourceforge.pmd.lang.dfa.report net.sourceforge.pmd.lang.rule net.sourceforge.pmd.renderers -
-
Uses of RuleViolation in net.sourceforge.pmd
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 java.util.Iterator<RuleViolation>
Report. iterator()
java.util.Iterator<RuleViolation>
Report. treeIterator()
Returns an iteration over the reported violations.Methods in net.sourceforge.pmd with parameters of type RuleViolation Modifier and Type Method Description void
Report. addRuleViolation(RuleViolation violation)
Adds a new rule violation to the report and notify the listeners.int
RuleViolationComparator. compare(RuleViolation r1, RuleViolation r2)
void
ThreadSafeReportListener. ruleViolationAdded(RuleViolation ruleViolation)
A new violation has been found.Constructors in net.sourceforge.pmd with parameters of type RuleViolation Constructor Description SuppressedViolation(RuleViolation rv, boolean isNOPMD, java.lang.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
ARuleViolation
implementation that is immutable, and therefore cache friendlyMethods in net.sourceforge.pmd.cache that return types with arguments of type RuleViolation Modifier and Type Method Description java.util.List<RuleViolation>
AbstractAnalysisCache. getCachedViolations(java.io.File sourceFile)
java.util.List<RuleViolation>
AnalysisCache. getCachedViolations(java.io.File sourceFile)
Retrieves cached violations for the given file.java.util.List<RuleViolation>
NoopAnalysisCache. getCachedViolations(java.io.File sourceFile)
java.util.List<RuleViolation>
AnalysisResult. getViolations()
Methods in net.sourceforge.pmd.cache with parameters of type RuleViolation Modifier and Type Method Description void
AnalysisResult. addViolation(RuleViolation ruleViolation)
void
AbstractAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)
void
NoopAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)
Method parameters in net.sourceforge.pmd.cache with type arguments of type RuleViolation Modifier and Type Method Description void
AnalysisResult. addViolations(java.util.List<RuleViolation> violations)
Constructor parameters in net.sourceforge.pmd.cache with type arguments of type RuleViolation Constructor Description AnalysisResult(long fileChecksum, java.util.List<RuleViolation> violations)
-
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 java.util.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>
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, java.lang.String message)
protected abstract RuleViolation
AbstractRuleViolationFactory. createRuleViolation(Rule rule, RuleContext ruleContext, Node node, java.lang.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(java.util.Iterator<RuleViolation> violations)
Render a series ofRuleViolation
s.void
CodeClimateRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
CSVRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
EmacsRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
HTMLRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
IDEAJRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
TextPadRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
TextRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
VBHTMLRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
void
XMLRenderer. renderFileViolations(java.util.Iterator<RuleViolation> violations)
-