mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
forbid 'static'/'default' in annotation types
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
@interface Example {
|
||||
|
||||
public <error descr="Modifier 'static' not allowed here">static</error> String myMethod() {
|
||||
return "";
|
||||
}
|
||||
public <error descr="Modifier 'default' not allowed here">default</error> String myMethod1() {
|
||||
return "";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user