added optional manifests
git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@16995 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
parent
089f7b4555
commit
ad564dd2d9
|
@ -0,0 +1,17 @@
|
|||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2007-2009, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
// $Id: Manifest.scala 16625 2008-11-25 16:04:12Z michelou $
|
||||
|
||||
|
||||
package scala.reflect
|
||||
|
||||
/** <p> One of the branches of an OptManifest
|
||||
*/
|
||||
@serializable
|
||||
object NoManifest extends OptManifest[Nothing]
|
|
@ -0,0 +1,19 @@
|
|||
/* __ *\
|
||||
** ________ ___ / / ___ Scala API **
|
||||
** / __/ __// _ | / / / _ | (c) 2007-2009, LAMP/EPFL **
|
||||
** __\ \/ /__/ __ |/ /__/ __ | http://scala-lang.org/ **
|
||||
** /____/\___/_/ |_/____/_/ | | **
|
||||
** |/ **
|
||||
\* */
|
||||
|
||||
// $Id: Manifest.scala 16625 2008-11-25 16:04:12Z michelou $
|
||||
|
||||
|
||||
package scala.reflect
|
||||
|
||||
/** <p>
|
||||
* A <code>OptManifest[T]</code> is an optional @see Manifest.
|
||||
* It is either a Manifest or the value NoManifest
|
||||
*/
|
||||
@serializable
|
||||
trait OptManifest[+T]
|
Loading…
Reference in New Issue