Package pl.tfij.checktfijstyle.checks
Class MethodParameterLinesCheck
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
- com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
- com.puppycrawl.tools.checkstyle.api.AbstractCheck
-
- pl.tfij.checktfijstyle.checks.MethodParameterLinesCheck
-
- All Implemented Interfaces:
com.puppycrawl.tools.checkstyle.api.Configurable,com.puppycrawl.tools.checkstyle.api.Contextualizable
public class MethodParameterLinesCheck extends com.puppycrawl.tools.checkstyle.api.AbstractCheck
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringMSG_PARAMS_LINESstatic java.lang.StringMSG_PARAMS_SEPARATE_LINES
-
Constructor Summary
Constructors Constructor Description MethodParameterLinesCheck()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]getAcceptableTokens()int[]getDefaultTokens()int[]getRequiredTokens()voidsetAllowSingleLine(boolean allowSingleLine)voidvisitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast)-
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractCheck
beginTree, clearViolations, destroy, finishTree, getFileContents, getFilePath, getLine, getLineCodePoints, getLines, getTabWidth, getTokenNames, getViolations, init, isCommentNodesRequired, leaveToken, log, log, log, setFileContents, setTabWidth, setTokens
-
Methods inherited from class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
finishLocalSetup, getCustomMessages, getId, getMessageBundle, getSeverity, getSeverityLevel, setId, setSeverity
-
-
-
-
Field Detail
-
MSG_PARAMS_LINES
public static final java.lang.String MSG_PARAMS_LINES
- See Also:
- Constant Field Values
-
MSG_PARAMS_SEPARATE_LINES
public static final java.lang.String MSG_PARAMS_SEPARATE_LINES
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAllowSingleLine
public void setAllowSingleLine(boolean allowSingleLine)
-
getDefaultTokens
public int[] getDefaultTokens()
- Specified by:
getDefaultTokensin classcom.puppycrawl.tools.checkstyle.api.AbstractCheck
-
getAcceptableTokens
public int[] getAcceptableTokens()
- Specified by:
getAcceptableTokensin classcom.puppycrawl.tools.checkstyle.api.AbstractCheck
-
getRequiredTokens
public int[] getRequiredTokens()
- Specified by:
getRequiredTokensin classcom.puppycrawl.tools.checkstyle.api.AbstractCheck
-
visitToken
public void visitToken(com.puppycrawl.tools.checkstyle.api.DetailAST ast)
- Overrides:
visitTokenin classcom.puppycrawl.tools.checkstyle.api.AbstractCheck
-
-