Reports local variables whose names are too short, too long, or do not follow the specified regular expression pattern.

A quick-fix to rename such variables is available only in the editor.

Example:


  int X = 42;
This example will be reported if the inspection is enabled with the default settings where a variable name should start with a lowercase letter.

Use the fields in the Options section to specify the minimum length, maximum length, and regular expression for acceptable local variable names. Specify 0 in a length field to skip the corresponding check. Regular expressions use the standard java.util.regex format.

Use the checkboxes to ignore for-loop parameters, catch-section parameters, and pattern variables.