com.puppycrawl.tools.checkstyle.checks
Class FinalParametersCheck
public
class
FinalParametersCheck
extends Check
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.
Author: lkuehne o_sukhodolsky Michael Studman
public int[] getAcceptableTokens()
{@inheritDoc}
public int[] getDefaultTokens()
{@inheritDoc}
{@inheritDoc}