Payload of the Java annotation: a list of name-value pairs. Empty for Scala annotations.
(Since version 2.11.0) use tree.children.tail
instead
Payload of the Scala annotation: a list of abstract syntax trees that represent the argument. Empty for Java annotations.
(Since version 2.11.0) use tree.children.tail
instead
The type of the annotation.
(Since version 2.11.0) use tree.tpe
instead
© 2002-2019 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://www.scala-lang.org/api/2.13.0/scala-reflect/scala/reflect/api/Annotations$AnnotationApi.html
The API of
Annotation
instances. The main source of information about annotations is the scala.reflect.api.Annotations page.