Back to Intellij Community

PackageNamingConvention

java/java-impl/resources/inspectionDescriptions/PackageNamingConvention.html

2025.3-rc-2362 B
Original Source

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).