superFwdArg
scala.annotation.meta.superFwdArg
class superFwdArg(p: String, n: String) extends StaticAnnotation
This internal annotation encodes arguments passed to annotation superclasses. Example:
import scala.annotation.Annotation
class a(x: Int) extends Annotation
class b(y: Int) extends a(y) // the compiler adds `@superFwdArg("x", "y")` to class b
Value parameters
- n
-
the name of the subclass parameter whose value is forwarded
- p
-
the name of the parameter in the superclass annotation
Attributes
- Source
- superArg.scala
- Graph
-
- Supertypes
In this article