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.rule net.sourceforge.pmd.renderers net.sourceforge.pmd.renderers.internal.sarif net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
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.Methods in net.sourceforge.pmd with parameters of type RuleViolation Modifier and Type Method Description voidReport. addRuleViolation(RuleViolation violation)Deprecated.PMD's way of creating a report is internal and may be changed in pmd 7.voidRuleContext. addViolationNoSuppress(RuleViolation rv)Force the recording of a violation, ignoring the violation suppression mechanism (ViolationSuppressor).voidReport.ReportBuilderListener. onRuleViolation(RuleViolation violation)static @Nullable Report.SuppressedViolationViolationSuppressor. suppressOrNull(List<ViolationSuppressor> suppressorList, RuleViolation rv, Node node)Apply a list of suppressors on the violation.@Nullable Report.SuppressedViolationViolationSuppressor. suppressOrNull(RuleViolation rv, @NonNull Node node)Returns aReport.SuppressedViolationif the given violation is suppressed by this object.Method parameters in net.sourceforge.pmd with type arguments of type RuleViolation Modifier and Type Method Description ReportReport. 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, ViolationSuppressor suppressor, 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(TextDocument sourceFile)Deprecated.List<RuleViolation>AnalysisCache. getCachedViolations(TextDocument sourceFile)Deprecated.Retrieves cached violations for the given file.List<RuleViolation>NoopAnalysisCache. getCachedViolations(TextDocument 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.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.rule
Classes in net.sourceforge.pmd.lang.rule that implement RuleViolation Modifier and Type Class Description classParametricRuleViolationDeprecated.This is internal. -
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)voidSarifRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidTextPadRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidTextRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidVBHTMLRenderer. renderFileViolations(Iterator<RuleViolation> violations)voidXMLRenderer. 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 SarifLogBuilderSarifLogBuilder. add(RuleViolation violation) -
Uses of RuleViolation in net.sourceforge.pmd.reporting
Methods in net.sourceforge.pmd.reporting with parameters of type RuleViolation Modifier and Type Method Description voidFileAnalysisListener. onRuleViolation(RuleViolation violation)Handle a new violation (not suppressed).
-