com.puppycrawl.tools.checkstyle.checks.header
Class RegexpHeaderCheck
- Configurable, Contextualizable
public class RegexpHeaderCheck
Checks the header of the source against a header file that contains a
regular expression
for each line of the source header.
void | beginTree(DetailAST aRootAST) -
|
protected com.puppycrawl.tools.checkstyle.checks.header.HeaderInfo | createHeaderInfo() -
|
protected com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderInfo | getRegexpHeaderInfo() - Provides typesafe access to the subclass specific HeaderInfo.
|
void | init()
|
void | setMultiLines(int[] aList) - Set the lines numbers to repeat in the header check.
|
beginTree , destroy , finishTree , getAcceptableTokens , getClassLoader , getDefaultTokens , getFileContents , getLines , getRequiredTokens , getTabWidth , getTokenNames , init , leaveToken , log , log , setClassLoader , setFileContents , setMessages , setTabWidth , setTokens , visitToken |
getId , getMessageBundle , getSeverity , getSeverityLevel , log , log , log , log , log , log , log , log , log , log , log , setId , setSeverity |
getRegexpHeaderInfo
protected com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderInfo getRegexpHeaderInfo()
Provides typesafe access to the subclass specific HeaderInfo.
init
public void init()
- init in interface Check
setMultiLines
public void setMultiLines(int[] aList)
Set the lines numbers to repeat in the header check.
aList
- comma separated list of line numbers to repeat in header.