Issue with repeated Java 8 annotations

The workaround for this issue is to write something like

@MyAnnotations{
  MyAnnotation(<your regular annotation constructor>),
  MyAnnotation(<your regular annotation constructor>)
}

Not a big difference. Still compillator warning is a bit misleading.

2 Likes