public class RegexpHeaderCheck extends AbstractHeaderCheck
regular expression
for each line of the source header.| Constructor and Description |
|---|
RegexpHeaderCheck() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginTree(DetailAST aRootAST)
Called before the starting to process a tree.
|
protected com.puppycrawl.tools.checkstyle.checks.header.HeaderInfo |
createHeaderInfo()
Abstract factory method to create an unconfigured
header info bean.
|
protected com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderInfo |
getRegexpHeaderInfo()
Provides typesafe access to the subclass specific HeaderInfo.
|
void |
init()
Initialse the check.
|
void |
setMultiLines(int[] aList)
Set the lines numbers to repeat in the header check.
|
finishLocalSetup, getDefaultTokens, getHeaderInfo, getHeaderLines, setHeader, setHeaderFiledestroy, finishTree, getAcceptableTokens, getClassLoader, getFileContents, getLines, getRequiredTokens, getTabWidth, getTokenNames, leaveToken, log, log, setClassLoader, setFileContents, setMessages, setTabWidth, setTokens, visitTokengetId, getMessageBundle, getSeverity, getSeverityLevel, log, log, log, log, log, log, log, log, log, setId, setSeverityconfigure, contextualize, getConfiguration, setupChildprotected com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderInfo getRegexpHeaderInfo()
createHeaderInfo()public void setMultiLines(int[] aList)
aList - comma separated list of line numbers to repeat in header.public void init()
Checkinit in class CheckCheck.init()public void beginTree(DetailAST aRootAST)
protected com.puppycrawl.tools.checkstyle.checks.header.HeaderInfo createHeaderInfo()
createHeaderInfo in class AbstractHeaderCheck