[java-inspections] UnreachableCatchInspection extracted from highlighter

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

GitOrigin-RevId: b2e389aa89d75c63969a3884a495b3771d2712b2
This commit is contained in:
Tagir Valeev
2025-01-27 16:27:01 +01:00
committed by intellij-monorepo-bot
parent 4b94cd67e6
commit 9dbf2ace73
11 changed files with 168 additions and 114 deletions

View File

@@ -613,4 +613,6 @@ intention.name.do.not.report.conditions.with.possible.side.effect=Do not report
dfa.find.cause.or.another=or {0}
dfa.find.cause.and.another=and {0}
safe.varargs.not.suppress.potentially.unsafe.operations=@SafeVarargs do not suppress potentially unsafe operations
safe.varargs.on.reifiable.type=@SafeVarargs is not applicable for reifiable types
safe.varargs.on.reifiable.type=@SafeVarargs is not applicable for 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