StaticAnnotation

scala.annotation.StaticAnnotation

A base class for static annotations. These are available to the Scala type checker or Scala reflection, even across different compilation units.

Annotation classes defined in Scala are not stored in classfiles in a Java-compatible manner and therefore not visible in Java reflection. In order to achieve this, the annotation has to be written in Java.

Attributes

Source
StaticAnnotation.scala
Graph
Supertypes
class Annotation
class Object
trait Matchable
class Any
Known subtypes
In this article