class Foo(val x: Int) extends AnyVal object Test extends App { println(classManifest[Foo]) }