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