| Package | Description |
|---|---|
| com.puppycrawl.tools.checkstyle |
Contains the implementation of the Checkstyle framework.
|
| com.puppycrawl.tools.checkstyle.filters |
Contains the filters that are bundled with the main distribution.
|
| com.puppycrawl.tools.checkstyle.xpath |
Contains the nodes implementations for XPATH queries and query generator.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
XpathFileGeneratorAstFilter.accept(TreeWalkerAuditEvent event) |
boolean |
TreeWalkerFilter.accept(TreeWalkerAuditEvent treeWalkerAuditEvent)
Determines whether or not a filtered
TreeWalkerAuditEvent is accepted. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SuppressWithNearbyCommentFilter.accept(TreeWalkerAuditEvent event) |
boolean |
XpathFilterElement.accept(TreeWalkerAuditEvent event) |
boolean |
SuppressionXpathFilter.accept(TreeWalkerAuditEvent treeWalkerAuditEvent) |
boolean |
SuppressionCommentFilter.accept(TreeWalkerAuditEvent event) |
boolean |
SuppressionXpathSingleFilter.accept(TreeWalkerAuditEvent treeWalkerAuditEvent) |
private SuppressionCommentFilter.Tag |
SuppressionCommentFilter.findNearestMatch(TreeWalkerAuditEvent event)
Finds the nearest comment text tag that matches an audit event.
|
private java.util.List<net.sf.saxon.om.Item> |
XpathFilterElement.getItems(TreeWalkerAuditEvent event)
Returns list of nodes matching xpath expression given event.
|
private boolean |
SuppressWithNearbyCommentFilter.Tag.isCheckMatch(TreeWalkerAuditEvent event)
Checks whether
TreeWalkerAuditEvent source name matches the check format. |
private boolean |
SuppressionCommentFilter.Tag.isCheckMatch(TreeWalkerAuditEvent event)
Checks whether
TreeWalkerAuditEvent source name matches the check format. |
private boolean |
XpathFilterElement.isFileNameAndModuleAndModuleNameMatching(TreeWalkerAuditEvent event)
Is matching by file name, module id and Check name.
|
private boolean |
SuppressWithNearbyCommentFilter.Tag.isIdMatch(TreeWalkerAuditEvent event)
Checks whether the
TreeWalkerAuditEvent module ID matches the ID format. |
private boolean |
SuppressionCommentFilter.Tag.isIdMatch(TreeWalkerAuditEvent event)
Checks whether the
TreeWalkerAuditEvent module ID matches the ID format. |
private boolean |
SuppressWithNearbyCommentFilter.Tag.isInScopeOfSuppression(TreeWalkerAuditEvent event)
Checks whether the
TreeWalkerAuditEvent is in the scope of the suppression. |
boolean |
SuppressWithNearbyCommentFilter.Tag.isMatch(TreeWalkerAuditEvent event)
Determines whether the source of an audit event
matches the text of this tag.
|
boolean |
SuppressionCommentFilter.Tag.isMatch(TreeWalkerAuditEvent event)
Determines whether the source of an audit event
matches the text of this tag.
|
private boolean |
SuppressWithNearbyCommentFilter.Tag.isMessageMatch(TreeWalkerAuditEvent event)
Checks whether the
TreeWalkerAuditEvent message matches the message format. |
private boolean |
SuppressionCommentFilter.Tag.isMessageMatch(TreeWalkerAuditEvent event)
Checks whether the
TreeWalkerAuditEvent message matches the message format. |
private boolean |
XpathFilterElement.isMessageNameMatching(TreeWalkerAuditEvent event)
Is matching by message.
|
private boolean |
XpathFilterElement.isXpathQueryMatching(TreeWalkerAuditEvent event)
Is matching by xpath query.
|
private boolean |
SuppressWithNearbyCommentFilter.matchesTag(TreeWalkerAuditEvent event)
Whether current event matches any tag from
SuppressWithNearbyCommentFilter.tags. |
| Constructor and Description |
|---|
XpathQueryGenerator(TreeWalkerAuditEvent event,
int tabWidth)
Creates a new
XpathQueryGenerator instance. |
Copyright © 2001-2022. All Rights Reserved.