superArg
scala.annotation.meta.superArg
class superArg(p: String, v: Any) extends StaticAnnotation
This internal annotation encodes arguments passed to annotation superclasses. Example:
class a(x: Int) extends Annotation
class b extends a(42) // the compiler adds `@superArg("x", 42)` to class b
Attributes
- Source
- superArg.scala
- Graph
-
- Supertypes
In this article