Package com.puppycrawl.tools.checkstyle.filters
package com.puppycrawl.tools.checkstyle.filters
Contains the filters that are bundled with the main distribution.
-
ClassDescriptionThis filter element is immutable and accepts an integer that matches a CSV value, where each value is an integer or a range of integers.An interface for filtering Integer.This filter element is immutable and accepts a matching Integer.This filter element is immutable and accepts an Integer in a range.Filter
SeverityMatchFilterdecides audit events according to the severity level of the event.This filter element is immutable and processesAuditEventobjects based on the criteria of file, check, module id, line, and column.FilterSuppressionCommentFilteruses pairs of comments to suppress audit events.A Tag holds a suppression comment and its location, and determines whether the suppression turns checkstyle reporting on or off.Enum to be used for switching checkstyle reporting for tags.FilterSuppressionFilterrejects audit events for Check violations according to a suppressions XML document in a file.FilterSuppressionSingleFiltersuppresses audit events for Checks violations in the specified file, class, checks, message, module id, lines, and columns.Loads a filter chain of suppressions.FilterSuppressionXpathFilterworks as SuppressionFilter, but also processessuppress-xpathelements, which contain xpath-expressions.FilterSuppressionXpathSingleFiltersuppresses audit events for Checks violations in the specified file, class, checks, message, module id, and xpath.FilterSuppressWarningsFilteruses annotation@SuppressWarningsto suppress audit events.FilterSuppressWithNearbyCommentFilteruses nearby comments to suppress audit events.A Tag holds a suppression comment and its location.FilterSuppressWithNearbyTextFilteruses plain text to suppress nearby audit events.The class which represents the suppression.FilterSuppressWithPlainTextCommentFilteruses plain text to suppress audit events.The class which represents the suppression.Enum which represents the type of the suppression.This filter element is immutable and processesTreeWalkerAuditEventobjects based on the criteria of file, check, module id, xpathQuery.