scala.reflect.api.TypeTags

TypeTag

trait TypeTag[T] extends Universe.WeakTypeTag[T] with Equals with Serializable

A TypeTag is a scala.reflect.api.TypeTags#WeakTypeTag with the additional static guarantee that all type references are concrete, i.e. it does not contain any references to unresolved type parameters or abstract types.

Annotations
@implicitNotFound( msg = "No TypeTag available for ${T}" )
Source
TypeTags.scala
See also

scala.reflect.api.TypeTags

Linear Supertypes
Universe.WeakTypeTag[T], Serializable, java.io.Serializable, Equals, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. TypeTag
  2. WeakTypeTag
  3. Serializable
  4. Serializable
  5. Equals
  6. AnyRef
  7. Any
Implicitly
  1. by StringAdd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def in[U <: Universe with Singleton](otherMirror: Mirror[U]): in.U.TypeTag[T]

    Migrates the expression into another mirror, jumping into a different universe if necessary.

    Migrates the expression into another mirror, jumping into a different universe if necessary.

    Migration means that all symbolic references to classes/objects/packages in the expression will be re-resolved within the new mirror (typically using that mirror's classloader).

    Definition Classes
    TypeTagWeakTypeTag
  2. abstract val mirror: Universe.Mirror

    The underlying Mirror of this type tag.

    The underlying Mirror of this type tag.

    Definition Classes
    WeakTypeTag
  3. abstract def tpe: Universe.Type

    Reflective representation of type T.

    Reflective representation of type T.

    Definition Classes
    WeakTypeTag

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to StringAdd[Universe.TypeTag[T]] performed by method StringAdd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (Universe.TypeTag[T], B)

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to ArrowAssoc[Universe.TypeTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def canEqual(x: Any): Boolean

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass.

    A method that should be called from every well-designed equals method that is open to be overridden in a subclass. See Programming in Scala, Chapter 28 for discussion and design.

    returns

    true if this instance can possibly equal that, otherwise false

    Definition Classes
    TypeTagWeakTypeTagEquals
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def ensuring(cond: (Universe.TypeTag[T]) ⇒ Boolean, msg: ⇒ Any): Universe.TypeTag[T]

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to Ensuring[Universe.TypeTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (Universe.TypeTag[T]) ⇒ Boolean): Universe.TypeTag[T]

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to Ensuring[Universe.TypeTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): Universe.TypeTag[T]

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to Ensuring[Universe.TypeTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): Universe.TypeTag[T]

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to Ensuring[Universe.TypeTag[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  16. def equals(x: Any): Boolean

    The universal equality method defined in AnyRef.

    The universal equality method defined in AnyRef.

    Definition Classes
    TypeTagWeakTypeTagEquals → AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  18. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to StringFormat[Universe.TypeTag[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    TypeTagWeakTypeTag → AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    TypeTagWeakTypeTag → AnyRef → Any
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws()
  30. def [B](y: B): (Universe.TypeTag[T], B)

    Implicit information
    This member is added by an implicit conversion from Universe.TypeTag[T] to ArrowAssoc[Universe.TypeTag[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Universe.WeakTypeTag[T]

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion StringAdd from Universe.TypeTag[T] to StringAdd[Universe.TypeTag[T]]

Inherited by implicit conversion StringFormat from Universe.TypeTag[T] to StringFormat[Universe.TypeTag[T]]

Inherited by implicit conversion Ensuring from Universe.TypeTag[T] to Ensuring[Universe.TypeTag[T]]

Inherited by implicit conversion ArrowAssoc from Universe.TypeTag[T] to ArrowAssoc[Universe.TypeTag[T]]

Ungrouped