Uses of Interface
net.sourceforge.pmd.reporting.ViolationSuppressor
Packages that use ViolationSuppressor
Package
Description
Logic about reporting: violations, suppression etc.
-
Uses of ViolationSuppressor in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang that return types with arguments of type ViolationSuppressorModifier and TypeMethodDescriptiondefault List<ViolationSuppressor>LanguageVersionHandler.getExtraViolationSuppressors()Returns additional language-specific violation suppressors. -
Uses of ViolationSuppressor in net.sourceforge.pmd.reporting
Classes in net.sourceforge.pmd.reporting that implement ViolationSuppressorModifier and TypeClassDescriptionclassAbstractAnnotationSuppressor<A extends Node>Base class for aViolationSuppressorthat uses annotations of the source language to suppress some warnings.Fields in net.sourceforge.pmd.reporting declared as ViolationSuppressorModifier and TypeFieldDescriptionstatic final ViolationSuppressorViolationSuppressor.NOPMD_COMMENT_SUPPRESSORSuppressor for regular NOPMD comments.static final ViolationSuppressorViolationSuppressor.REGEX_SUPPRESSORSuppressor for the violationSuppressRegex property.static final ViolationSuppressorViolationSuppressor.XPATH_SUPPRESSORSuppressor for the violationSuppressXPath property.Fields in net.sourceforge.pmd.reporting with type parameters of type ViolationSuppressorModifier and TypeFieldDescriptionstatic final List<ViolationSuppressor>InternalApiBridge.DEFAULT_SUPPRESSORSMethods in net.sourceforge.pmd.reporting that return ViolationSuppressorMethod parameters in net.sourceforge.pmd.reporting with type arguments of type ViolationSuppressorModifier and TypeMethodDescriptionstatic @Nullable Report.SuppressedViolationViolationSuppressor.suppressOrNull(List<ViolationSuppressor> suppressorList, RuleViolation rv, Node node) Apply a list of suppressors on the violation.Constructors in net.sourceforge.pmd.reporting with parameters of type ViolationSuppressorModifierConstructorDescriptionSuppressedViolation(RuleViolation rv, ViolationSuppressor suppressor, String userMessage) Creates a suppressed violation.