クラスオブジェクトの取得
LingrのScala-ja(http://www.lingr.com/room/scala-ja)で教えていただきました。
classOf[T] で得られます。
これは、PreDefで以下のように定義されています。
// classOf /** Return the runtime representation of a class type. */ def classOf[T]: Class = null // this is a dummy, classOf is handled by compiler.
特殊!