Uses of Interface
net.sourceforge.pmd.reporting.RuleViolation
Packages that use RuleViolation
Package
Description
Logic about reporting: violations, suppression etc.
-
Uses of RuleViolation in net.sourceforge.pmd.renderers
Method parameters in net.sourceforge.pmd.renderers with type arguments of type RuleViolationModifier and TypeMethodDescriptionabstract 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.reporting
Fields in net.sourceforge.pmd.reporting with type parameters of type RuleViolationModifier and TypeFieldDescriptionstatic final Comparator<RuleViolation> RuleViolation.DEFAULT_COMPARATORA comparator for rule violations.Methods in net.sourceforge.pmd.reporting that return RuleViolationMethods in net.sourceforge.pmd.reporting that return types with arguments of type RuleViolationModifier and TypeMethodDescriptionReport.getViolations()Returns an unmodifiable list of violations that have been recorded until now.Methods in net.sourceforge.pmd.reporting with parameters of type RuleViolationModifier and TypeMethodDescriptionvoidCloseHookFileListener.onRuleViolation(RuleViolation violation) voidFileAnalysisListener.onRuleViolation(RuleViolation violation) Handle a new violation (not suppressed).voidReport.ReportBuilderListener.onRuleViolation(RuleViolation violation) AbstractAnnotationSuppressor.suppressOrNull(RuleViolation rv, @NonNull Node node) 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.reporting with type arguments of type RuleViolationModifier and TypeMethodDescriptionReport.filterViolations(Predicate<RuleViolation> filter) Creates a new report taking all the information from this report, but filtering the violations.Constructors in net.sourceforge.pmd.reporting with parameters of type RuleViolationModifierConstructorDescriptionSuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage) Creates a suppressed violation.