[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 18:53:10 +00:00
committed by intellij-monorepo-bot
parent 4b94cd67e6
commit 9dbf2ace73
11 changed files with 168 additions and 114 deletions
@@ -146,7 +146,6 @@ repeated.modifier=Repeated modifier ''{0}''
modifier.not.allowed=Modifier ''{0}'' not allowed here
modifier.not.allowed.on.local.classes=Modifier ''{0}'' not allowed on local classes
modifier.not.allowed.on.classes.without.sealed.super=Modifier 'non-sealed' not allowed on classes that do not have a sealed superclass
exception.already.caught.warn=Unreachable section: {1, choice, 0#exception|2#exceptions} ''{0}'' {1, choice, 0#has|2#have} already been caught
not.a.statement=Not a statement
invalid.statement=Invalid statement
incompatible.types=Incompatible types. Found: ''{1}'', required: ''{0}''