[java-highlighting] More class-related stuff and implicit class stuff -> ClassChecker

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

GitOrigin-RevId: aa4e9711952175cbd0677b50d7486efaa19113fc
This commit is contained in:
Tagir Valeev
2025-01-13 09:44:55 +00:00
committed by intellij-monorepo-bot
parent c6e3aee5d6
commit 9450c1bf37
11 changed files with 169 additions and 252 deletions
@@ -50,7 +50,7 @@ class D {
}
interface IllegalMods {
void m1()<error descr="'{' or ';' expected"> </error>default<error descr="Identifier or type expected">;</error> <error descr="Not allowed in interface">{ }</error>
void m1()<error descr="'{' or ';' expected"> </error>default<error descr="Identifier or type expected">;</error> <error descr="Class initializer is not allowed in interface">{ }</error>
<error descr="Static methods in interfaces should have a body">static void m2()</error>;
<error descr="Illegal combination of modifiers 'static' and 'default'">static</error> <error descr="Illegal combination of modifiers 'default' and 'static'">default</error> void m3() { }