[java-highlighting] move module-related warnings to JavaModuleDefinitionInspection

Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only)

GitOrigin-RevId: 66179a41da5e02b759f07f9d6638b87711181348
This commit is contained in:
Tagir Valeev
2025-02-17 12:04:21 +00:00
committed by intellij-monorepo-bot
parent b58f63db9e
commit a0f777069b
15 changed files with 243 additions and 158 deletions
@@ -218,6 +218,7 @@ inspection.implicit.subclass.make.class.extendable=Make class ''{0}'' {1,choice,
inspection.infinite.loop.option=Ignore when placed in Thread.run
inspection.java.module.naming.terminal.digits=Module name component ''{0}'' should avoid terminal digits
inspection.java.module.naming=Java module name contradicts the convention
inspection.java.module.definition=Java module definition problems
inspection.local.can.be.final.display.name=Local variable or parameter can be 'final'
inspection.local.can.be.final.option1=Report method parameters
inspection.local.can.be.final.option2=Report catch parameters
@@ -611,3 +612,5 @@ safe.varargs.not.suppress.potentially.unsafe.operations=@SafeVarargs do not supp
safe.varargs.on.reifiable.type=@SafeVarargs is not applicable to reifiable types
inspection.unreachable.catch.name=Unreachable catch section
inspection.unreachable.catch.message=Unreachable section: {1, choice, 0#exception|2#exceptions} ''{0}'' {1, choice, 0#has|2#have} already been caught
module.service.unused=Service interface provided but not exported or used
module.ambiguous=Ambiguous module reference: {0}