1 2 3 4 5 6
class Length(n: Int) extends ClassfileAnnotation object Test { def n = 15 @Length(n) def foo = "foo" }