blob: 6d457ebe64f59decedc8af9c96380b2566f3e9d3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
object Test extends App {
import scala.reflect.runtime.universe._
val sym = typeOf[JavaAnnottee_1].typeSymbol
sym.info
sym.annotations foreach (_.tree.children.tail)
println(sym.annotations)
println("=======")
sym.annotations.map(_.tree).map(println)
}
|