Interface ViolationSuppressor

  • public interface ViolationSuppressor
    An object that suppresses rule violations. Suppressors are used by RuleContext to filter out violations. In PMD 6.0.x, the Report object filtered violations itself - but it has no knowledge of language-specific suppressors.
    • Field Detail


        static final ViolationSuppressor REGEX_SUPPRESSOR
        Suppressor for the violationSuppressRegex property.

        static final ViolationSuppressor XPATH_SUPPRESSOR
        Suppressor for the violationSuppressXPath property.

        static final ViolationSuppressor NOPMD_COMMENT_SUPPRESSOR
        Suppressor for regular NOPMD comments.