com.puppycrawl.tools.checkstyle.checks
Class FinalParametersCheck
- Configurable, Contextualizable
public class FinalParametersCheck
Check that method/constructor/catch/foreach parameters are final.
The user can set the token set to METHOD_DEF, CONSTRUCTOR_DEF,
LITERAL_CATCH, FOR_EACH_CLAUSE or any combination of these token
types, to control the scope of this check.
Default scope is both METHOD_DEF and CONSTRUCTOR_DEF.
- lkuehne
- o_sukhodolsky
- Michael Studman
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 |