BTW -  `null.asInstanceOf[PrimitiveType]` in scala gives you the default, although it's kind of hacky.  This is way better.