Reflection - Annotations, Names, Scopes, and More - Scala Documentation


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