[java-highlighting] Modifier 'final' not allowed at interface methods

IDEA-290172
IJ-CR-23088

GitOrigin-RevId: f93deff04def5d65e0fe0463d1f4d5ba8a8b29d9
This commit is contained in:
Andrey.Cherkasov
2022-04-28 03:11:32 +03:00
committed by intellij-monorepo-bot
parent 0f95f7408f
commit 071a2db306
5 changed files with 18 additions and 5 deletions

View File

@@ -1,4 +1,4 @@
interface A {
final <error descr="Illegal combination of modifiers: 'static' and 'final'">static</error> void foo() {}
final <error descr="Illegal combination of modifiers: 'default' and 'final'">default</error> void foo() {}
<error descr="Modifier 'final' not allowed here">final</error> static void foo() {}
<error descr="Modifier 'final' not allowed here">final</error> default void foo() {}
}