Package com.puppycrawl.tools.checkstyle
Interface TreeWalkerFilter
-
- All Known Implementing Classes:
SuppressionCommentFilter
,SuppressionXpathFilter
,SuppressionXpathSingleFilter
,SuppressWithNearbyCommentFilter
,XpathFileGeneratorAstFilter
,XpathFilterElement
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface TreeWalkerFilter
An interface for filteringTreeWalkerAuditEvent
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(TreeWalkerAuditEvent treeWalkerAuditEvent)
Determines whether or not a filteredTreeWalkerAuditEvent
is accepted.
-
-
-
Method Detail
-
accept
boolean accept(TreeWalkerAuditEvent treeWalkerAuditEvent)
Determines whether or not a filteredTreeWalkerAuditEvent
is accepted.- Parameters:
treeWalkerAuditEvent
- the TreeWalkerAuditEvent to filter.- Returns:
- true if the event is accepted.
-
-