blob: 4b539f9e580f165e25589578a516a2b88a95f8af (
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; 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
|