ruleDescriptionexamplekpi
LocalVariableNamingConventionsConfigurable naming conventions for local variable declarations._x000D_
This rule reports variable declarations which do not match the regex that applies to their_x000D_
specific kind (e.g. local variable, or final local variable). Each regex can be configured through_x000D_
properties._x000D_
_x000D_
By default this rule uses the standard Apex naming convention (Camel case).
_x000D_
public class Foo {_x000D_
public Foo() {_x000D_
Integer localVariable; // This is in camel case, so it's ok_x000D_
Integer LOCAL_VARIABLE; // This will be reported unless you change the regex_x000D_
}_x000D_
}_x000D_
Maintainability