j2k: Adjust annotation converter to last changes

Only parameter named `value` can be marked vararg
This commit is contained in:
Denis Zharkov
2015-04-07 11:19:36 +03:00
parent 37d7327482
commit f85e92a247
8 changed files with 83 additions and 19 deletions
@@ -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 {
}