Inspectopedia Help

Package naming convention

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

Example:

package io;

Use the options to specify the minimum and maximum length of the package name as well as a regular expression that matches valid package names (regular expressions are in standard java.util.regex format).

Inspection options

Option

Type

Default

Pattern

String

[a-z]*

Min length

Number

3

Max length

Number

16

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023