|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
public class SuppressionCommentFilter.Tag
A Tag holds a suppression comment and its location, and determines whether the supression turns checkstyle reporting on or off.
| Constructor Summary | |
|---|---|
SuppressionCommentFilter.Tag(int aLine,
int aColumn,
String aText,
boolean aOn)
Constructs a tag. |
|
| Method Summary | |
|---|---|
int |
compareTo(SuppressionCommentFilter.Tag aObject)
Compares the position of this tag in the file with the position of another tag. |
int |
getColumn()
Determines the column number of the tag in the source file. |
int |
getLine()
|
String |
getText()
|
boolean |
isMatch(AuditEvent aEvent)
Determines whether the source of an audit event matches the text of this tag. |
boolean |
isOn()
Determines whether the suppression turns checkstyle reporting on or off. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SuppressionCommentFilter.Tag(int aLine,
int aColumn,
String aText,
boolean aOn)
throws org.apache.commons.beanutils.ConversionException
aLine - the line number.aColumn - the column number.aText - the text of the suppression.aOn - true if the tag turns checkstyle reporting.
org.apache.commons.beanutils.ConversionException - if unable to parse expanded aText.
on.| Method Detail |
|---|
public String getText()
public int getLine()
public int getColumn()
public boolean isOn()
trueif the suppression turns reporting on.public int compareTo(SuppressionCommentFilter.Tag aObject)
compareTo in interface Comparable<SuppressionCommentFilter.Tag>aObject - the tag to compare with this one.
Comparable.compareTo(java.lang.Object)public boolean isMatch(AuditEvent aEvent)
aEvent - the AuditEvent to check.
public final String toString()
toString in class Object
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||