public class RegexpOnStringCheck extends AbstractAddonsCheck
| Constructor and Description |
|---|
RegexpOnStringCheck() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Integer> |
getRelevantTokens()
The tokens which this check is interested in.
|
void |
setRegexp(java.lang.String pRegexp)
Setter.
|
protected void |
visitToken(BinaryName pBinaryClassName,
com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
Called to process a token.
|
beginTree, finishTree, finishTree, getAcceptableTokens, getApiFixer, getClassDeclarationPosition, getCurrentBinaryName, getCurrentSimpleName, getDefaultTokens, getMyPackage, getRequiredTokens, leaveKnownType, leaveToken, leaveToken, visitKnownType, visitTokenclearMessages, destroy, getClassLoader, getFileContents, getLine, getLines, getMessages, getTabWidth, getTokenNames, init, isCommentNodesRequired, log, log, log, setClassLoader, setFileContents, setTabWidth, setTokensfinishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeveritypublic java.util.Set<java.lang.Integer> getRelevantTokens()
AbstractAddonsCheckgetRelevantTokens in class AbstractAddonsCheckpublic void setRegexp(java.lang.String pRegexp)
pRegexp - the new value of regexpprotected void visitToken(@Nullable BinaryName pBinaryClassName, @Nonnull com.puppycrawl.tools.checkstyle.api.DetailAST pAst)
AbstractAddonsCheckvisitToken in class AbstractAddonsCheckpBinaryClassName - the currently active binary class namepAst - the token to process