public static class SuppressWithNearbyCommentFilter.Tag extends Object
| Constructor and Description |
|---|
Tag(String text,
int line,
SuppressWithNearbyCommentFilter filter)
Constructs a tag.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
boolean |
isMatch(TreeWalkerAuditEvent event)
Determines whether the source of an audit event
matches the text of this tag.
|
String |
toString() |
public Tag(String text, int line, SuppressWithNearbyCommentFilter filter)
text - the text of the suppression.line - the line number.filter - the SuppressWithNearbyCommentFilter with the contextIllegalArgumentException - if unable to parse expanded text.public boolean isMatch(TreeWalkerAuditEvent event)
event - the TreeWalkerAuditEvent to check.Copyright © 2001-2017. All Rights Reserved.