Uses of Interface
com.puppycrawl.tools.checkstyle.TreeWalkerFilter
Packages that use TreeWalkerFilter
Package
Description
Contains the implementation of the Checkstyle framework.
Contains the filters that are bundled with the main distribution.
-
Uses of TreeWalkerFilter in com.puppycrawl.tools.checkstyle
Classes in com.puppycrawl.tools.checkstyle that implement TreeWalkerFilterModifier and TypeClassDescriptionclass
CatchesTreeWalkerAuditEvent
and generates corresponding xpath query.Fields in com.puppycrawl.tools.checkstyle with type parameters of type TreeWalkerFilterModifier and TypeFieldDescriptionprivate final Set<TreeWalkerFilter>
TreeWalker.filters
The ast filters. -
Uses of TreeWalkerFilter in com.puppycrawl.tools.checkstyle.filters
Classes in com.puppycrawl.tools.checkstyle.filters that implement TreeWalkerFilterModifier and TypeClassDescriptionclass
FilterSuppressionCommentFilter
uses pairs of comments to suppress audit events.class
FilterSuppressionXpathFilter
works as SuppressionFilter.class
FilterSuppressionXpathSingleFilter
suppresses audit events for Checks violations in the specified file, class, checks, message, module id, and xpath.class
FilterSuppressWithNearbyCommentFilter
uses nearby comments to suppress audit events.class
This filter element is immutable and processesTreeWalkerAuditEvent
objects based on the criteria of file, check, module id, xpathQuery.Fields in com.puppycrawl.tools.checkstyle.filters with type parameters of type TreeWalkerFilterModifier and TypeFieldDescriptionprivate final Set<TreeWalkerFilter>
SuppressionXpathFilter.filters
Set of individual xpath suppresses.private final Set<TreeWalkerFilter>
SuppressionsLoader.treeWalkerFilters
The set of theTreeWalkerFilter
filters.Methods in com.puppycrawl.tools.checkstyle.filters that return types with arguments of type TreeWalkerFilterModifier and TypeMethodDescriptionstatic Set<TreeWalkerFilter>
SuppressionsLoader.loadXpathSuppressions
(String filename) Returns the suppressionTreeWalker
filters in a specified file.private static Set<TreeWalkerFilter>
SuppressionsLoader.loadXpathSuppressions
(InputSource source, String sourceName) Returns the suppressionTreeWalker
filters in a specified source.