EXPERIMENTAL
In Scala, declarations can be annotated using subtypes of
scala.annotation.Annotation
. Furthermore, since Scala integrates with
Java’s annotation system,
it’s possible to work with annotations produced by a
standard Java compiler.
This is a companion discussion topic for the original entry at http://docs.scala-lang.org//overviews/reflection/annotations-names-scopes.html