In the Scala language specification, ยง6.14 Annotated Expressions:
An annotated expression e: @a1 ... @an attaches annotations a1, ..., an to the expression e.
While I can get annotations just fine on classes (and their member values and methods), I can't find a way to get the annotations on an expression at runtime.
Say I have val x = C(f1 = v1 : @a1, f2 = v2 : @a2), how do I get annotations @a1 and @a2 from x's fields? (where C is a case class and @aX may be custom annotations)