is there a way to define custom annotations in Scala without resorting the use Java interfaces?
I saw this answer which says it's not possible, but is pretty old (dates back to 2010).
But, even with a recent Scala 2.11.8 compiler, I got the usual message:
warning: Implementation restriction: subclassing Classfile does make your annotation visible at runtime. If that is what you want, you must write the annotation class in Java.
I'm kinda puzzled: it's 2016 and yet, seems like we can't create annotations natively from Scala. Is there any reason about this, or am I doing it wrong somehow?
Thanks!