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