Inspectopedia Help

Naming conventions

Field naming convention  

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

Java module name contradicts the convention   New in this release

Reports cases when a module name contradicts Java Platform Module System recommendations.

Lambda parameter naming convention   New in this release

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

Local variable naming convention  

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

Method parameter naming convention   New in this release

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

Non-constant field with upper-case name   New in this release

Reports non-static non-final fields whose names are all in upper case.

Package naming convention   New in this release

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

Parameter name differs from parameter in overridden or overloaded method   New in this release

Reports parameters whose names differ from the corresponding parameters of the methods they override or overload.

Questionable name   New in this release

Reports variables, methods, or classes with questionable, not really descriptive names.

Standard variable names   New in this release

Reports variables with 'standard' names that do not correspond to their types.

Use of '$' in identifier   New in this release

Reports variables, methods, and classes with dollar signs ($) in their names.

Class  

Sub-group of 5 inspections that provide checks for Class

Method  

Sub-group of 9 inspections that provide checks for Method

Last modified: 11 September 2024