Back to Intellij Community

JavaModuleNaming

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

2025.3-rc-2380 B
Original Source

Reports module names in module-info.java that violate the Java Platform Module System recommendation to avoid encoding version information in module names by ending the name with one or more digits.

Example:

module foo.bar2 {}

After the quick-fix is applied:

module foo.bar {}