score:0

Looks like it's not possible with manifests. You should use TypeTag instead. Like this:

import scala.reflect.runtime.universe._
object GenericSerializer
{
  def apply[T <:AnyRef]()(implicit tag: TypeTag[T]) = {}
}

Related Query

More Query from same tag