blob: 6476fa71fc0775b5ffa89f4593ff588120b14928 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
scala> import scala.reflect.runtime.universe._
import scala.reflect.runtime.universe._
scala> import scala.reflect.runtime._
import scala.reflect.runtime._
scala> classManifest[List[_]]
warning: there was one deprecation warning (since 2.10.0); re-run with -deprecation for details
res0: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List[<?>]
scala> scala.reflect.classTag[List[_]]
res1: scala.reflect.ClassTag[List[_]] = scala.collection.immutable.List
scala> :quit
|