blob: 2226a69a05aa153635b9e0806c95eeab8b798f46 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
import scala.reflect._
import scala.reflect.api._
class Foo(bar: String) extends ClassfileAnnotation
object Test extends App {
val tree = scala.reflect.Code.lift{@Foo(bar = "qwe") class C}.tree
println(tree.toString)
}
|