blob: 9c73ed0bef8e40a1534cf9fc4c8f2eca147d134f (
plain) (
tree)
|
|
import scala.reflect.runtime.universe._
import scala.reflect.runtime.{universe => ru}
import scala.reflect.runtime.{currentMirror => cm}
final class table extends annotation.StaticAnnotation
@table class A
object Test extends App {
val s = cm.reflectClass(classOf[A]).symbol
println(s.getAnnotations)
}
|