Scala Library Documentation
|
|
scala/reflect/Manifest.scala
]
object
Manifest
extends
AnyRef
This object is used by the compiler and should not be used in client
code. The object Manifest
defines factory methods for
manifests.
BE AWARE: The factory for refinement types is missing and will be implemented in a later version of this class.
Method Summary | |
def
|
abstractType
[T](prefix : Manifest[Any], name : java.lang.String, upperBound : Manifest[Any], args : Manifest[Any]*) : Manifest[T]
Manifest for the abstract type `prefix # name[args]'.
|
def
|
abstractType
[T](prefix : Manifest[Any], name : java.lang.String, upperBound : Manifest[Any]) : Manifest[T]
Manifest for the abstract type `prefix # name'. `upperBound' is not
strictly necessary as it could be obtained by reflection. It was
added so that erasure can be calculated without reflection.
|
def
|
classType
[T](clazz : java.lang.Class[Any], args : Manifest[Any]*) : Manifest[T]
Manifest for the class type `clazz[args]', where `clazz' is
a top-level or static class.
|
def
|
classType
[T](prefix : Manifest[Any], clazz : java.lang.Class[Any]) : Manifest[T]
Manifest for the class type `prefix # clazz'.
|
def
|
classType
[T](prefix : Manifest[Any], clazz : java.lang.Class[Any], args : Manifest[Any]*) : Manifest[T]
Manifest for the class type `prefix # clazz[args]'.
|
def
|
classType
[T](clazz : java.lang.Class[T]) : Manifest[T]
Manifest for the class type `clazz', where `clazz' is
a top-level or static class.
|
def
|
intersectionType
[T](parents : Manifest[Any]*) : Manifest[T]
Manifest for the intersection type `parents_0 with ... with parents_n'.
|
def
|
singleType
[T](value : Any) : Manifest[T]
Manifest for the singleton type `value.type'.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
classType[T](clazz : java.lang.Class[T]) : Manifest[T]
def
classType[T](prefix : Manifest[Any], clazz : java.lang.Class[Any], args : Manifest[Any]*) : Manifest[T]
def
abstractType[T](prefix : Manifest[Any], name : java.lang.String, upperBound : Manifest[Any]) : Manifest[T]
def
abstractType[T](prefix : Manifest[Any], name : java.lang.String, upperBound : Manifest[Any], args : Manifest[Any]*) : Manifest[T]
Scala Library Documentation
|
|