com.puppycrawl.tools.checkstyle.checks.regexp
Class NeverSuppress
java.lang.Object
com.puppycrawl.tools.checkstyle.checks.regexp.NeverSuppress
public final class NeverSuppress
- extends Object
An implementation of MatchSuppressor that never suppresses a
match.
- Author:
- oliver
|
Field Summary |
static com.puppycrawl.tools.checkstyle.checks.regexp.MatchSuppressor |
INSTANCE
The shared instance. |
|
Method Summary |
boolean |
shouldSuppress(int aStartLineNo,
int aStartColNo,
int aEndLineNo,
int aEndColNo)
Checks if the specified selection should be suppressed. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final com.puppycrawl.tools.checkstyle.checks.regexp.MatchSuppressor INSTANCE
- The shared instance.
shouldSuppress
public boolean shouldSuppress(int aStartLineNo,
int aStartColNo,
int aEndLineNo,
int aEndColNo)
- Checks if the specified selection should be suppressed.
- Parameters:
aStartLineNo - the starting line numberaStartColNo - the starting column numberaEndLineNo - the ending line numberaEndColNo - the ending column number
- Returns:
- true if the positions intersects with a comment.