#scala
A simple annotation clause has the form @C
or @C(a1, .., an)
. Here, C
is a constructor of a class C
, which must conform to the class scala.Annotation
. All given constructor arguments a1, .., an
must be constant expressions (i.e., expressions on numeral literals, strings, class literals, Java enumerations and one-dimensional arrays of them).
If you want to change selection, open document below and click on "Move attachment"
Annotations - Scala Documentation
Annotations associate meta-information with definitions.
<span>A simple annotation clause has the form @C or @C(a1, .., an). Here, C is a constructor of a class C, which must conform to the class scala.Annotation. All given constructor arguments a1, .., an must be constant expressions (i.e., expressions on numeral literals, strings, class literals, Java enumerations and one-dimensional arrays of them).
An annotation clause applies to the first definition or declaration following it. More than one annotation clause may precede a definition and declaration. The order in which these claus Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details