mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] better error message on @interface throws/extends list not allowed (IDEA-350501)
GitOrigin-RevId: 1f89c42ac5ffda1d026f6e40cb922b08a095d1dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
01711f3ea2
commit
89c8dc03ed
@@ -0,0 +1,9 @@
|
||||
@interface Declarations <error descr="'extends' not allowed on @interface">extends</error> java.io.Serializable {
|
||||
|
||||
int x() <error descr="'throws' not allowed on @interface method">throws</error> IllegalArgumentException;
|
||||
}
|
||||
@interface Seconds <error descr="'permits' not allowed on @interface">permits</error> Declarations {
|
||||
|
||||
<error descr="@interface members may not have type parameters"><T></error> int y();
|
||||
}
|
||||
@interface Generic<error descr="@interface may not have type parameters"><T></error> {}
|
||||
Reference in New Issue
Block a user