j2k: Adjust annotation converter to last changes
Only parameter named `value` can be marked vararg
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
@interface Anon {
|
||||
String[] value();
|
||||
int x() default 1;
|
||||
}
|
||||
|
||||
@Anon("a", "b")
|
||||
interface I1 {
|
||||
|
||||
}
|
||||
|
||||
@Anon("c", "d", x = 1)
|
||||
interface I2 {
|
||||
|
||||
}
|
||||
|
||||
@Anon({"c", "d"}, x = 1)
|
||||
interface I3 {
|
||||
|
||||
}
|
||||
|
||||
@Anon(value = {"c", "d"})
|
||||
interface I4 {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user