com.puppycrawl.tools.checkstyle.checks.coding
public final class ParameterAssignmentCheck extends Check
Disallow assignment of parameters.
Rationale: Parameter assignment is often considered poor programming practice. Forcing developers to declare parameters as final is often onerous. Having a check ensure that parameters are never assigned would give the best of both worlds.
| Method Summary | |
|---|---|
| void | beginTree(DetailAST aRootAST) |
| int[] | getDefaultTokens() |
| int[] | getRequiredTokens() |
| void | leaveToken(DetailAST aAST) |
| void | visitToken(DetailAST aAST) |