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 -
-
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_COMPARATORA comparator for rule violations.Methods in net.sourceforge.pmd that return RuleViolation Modifier and Type Method Description RuleViolationReport.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.TheReportTreeis deprecatedMethods in net.sourceforge.pmd with parameters of type RuleViolation Modifier and Type Method Description voidReport. addRuleViolation(RuleViolation violation)Adds a new rule violation to the report and notify the listeners.intRuleViolationComparator. compare(RuleViolation r1, RuleViolation r2)Deprecated.voidThreadSafeReportListener. 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, 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 classCachedRuleViolationDeprecated.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 voidAnalysisResult. addViolation(RuleViolation ruleViolation)Deprecated.voidAbstractAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)Deprecated.voidNoopAnalysisCache. ruleViolationAdded(RuleViolation ruleViolation)Deprecated.Method parameters in net.sourceforge.pmd.cache with type arguments of type RuleViolation Modifier and Type Method Description voidAnalysisResult. 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 RuleViolationViolationNode. 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 voidReportTree. 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 classParametricRuleViolation<T extends Node>Methods in net.sourceforge.pmd.lang.rule that return RuleViolation Modifier and Type Method Description protected abstract RuleViolationAbstractRuleViolationFactory. createRuleViolation(Rule rule, RuleContext ruleContext, Node node, String message)protected abstract RuleViolationAbstractRuleViolationFactory. 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 voidAbstractIncrementingRenderer. renderFileViolations(Iterator<RuleViolation> violations)Render a series ofRuleViolations.voidCodeClimateRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidCSVRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidEmacsRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidHTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidIDEAJRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidJsonRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidTextPadRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidTextRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidVBHTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidXMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)
-