scala.reflect.api

ImplicitTags

Related Doc: package api

trait ImplicitTags extends AnyRef

Tags which preserve the identity of abstract types in the face of erasure. Can be used for pattern matching, instance tests, serialization and the like.

Self Type
Universe
Source
ImplicitTags.scala
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ImplicitTags
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  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. implicit abstract val AlternativeTag: ClassTag[Universe.Alternative]

  2. implicit abstract val AnnotatedTag: ClassTag[Universe.Annotated]

  3. implicit abstract val AnnotatedTypeTag: ClassTag[Universe.AnnotatedType]

  4. implicit abstract val AnnotationTag: ClassTag[Universe.Annotation]

  5. implicit abstract val AppliedTypeTreeTag: ClassTag[Universe.AppliedTypeTree]

  6. implicit abstract val ApplyTag: ClassTag[Universe.Apply]

  7. implicit abstract val ArrayArgumentTag: ClassTag[Universe.ArrayArgument]

  8. implicit abstract val AssignOrNamedArgTag: ClassTag[Universe.AssignOrNamedArg]

  9. implicit abstract val AssignTag: ClassTag[Universe.Assign]

  10. implicit abstract val BindTag: ClassTag[Universe.Bind]

  11. implicit abstract val BlockTag: ClassTag[Universe.Block]

  12. implicit abstract val BoundedWildcardTypeTag: ClassTag[Universe.BoundedWildcardType]

  13. implicit abstract val CaseDefTag: ClassTag[Universe.CaseDef]

  14. implicit abstract val ClassDefTag: ClassTag[Universe.ClassDef]

  15. implicit abstract val ClassInfoTypeTag: ClassTag[Universe.ClassInfoType]

  16. implicit abstract val ClassSymbolTag: ClassTag[Universe.ClassSymbol]

  17. implicit abstract val CompoundTypeTag: ClassTag[Universe.CompoundType]

  18. implicit abstract val CompoundTypeTreeTag: ClassTag[Universe.CompoundTypeTree]

  19. implicit abstract val ConstantTag: ClassTag[Universe.Constant]

  20. implicit abstract val ConstantTypeTag: ClassTag[Universe.ConstantType]

  21. implicit abstract val DefDefTag: ClassTag[Universe.DefDef]

  22. implicit abstract val DefTreeTag: ClassTag[Universe.DefTree]

  23. implicit abstract val ExistentialTypeTag: ClassTag[Universe.ExistentialType]

  24. implicit abstract val ExistentialTypeTreeTag: ClassTag[Universe.ExistentialTypeTree]

  25. implicit abstract val FlagSetTag: ClassTag[Universe.FlagSet]

  26. implicit abstract val FunctionTag: ClassTag[Universe.Function]

  27. implicit abstract val GenericApplyTag: ClassTag[Universe.GenericApply]

  28. implicit abstract val IdentTag: ClassTag[Universe.Ident]

  29. implicit abstract val IfTag: ClassTag[Universe.If]

  30. implicit abstract val ImplDefTag: ClassTag[Universe.ImplDef]

  31. implicit abstract val ImportSelectorTag: ClassTag[Universe.ImportSelector]

  32. implicit abstract val ImportTag: ClassTag[Universe.Import]

  33. implicit abstract val JavaArgumentTag: ClassTag[Universe.JavaArgument]

  34. implicit abstract val LabelDefTag: ClassTag[Universe.LabelDef]

  35. implicit abstract val LiteralArgumentTag: ClassTag[Universe.LiteralArgument]

  36. implicit abstract val LiteralTag: ClassTag[Universe.Literal]

  37. implicit abstract val MatchTag: ClassTag[Universe.Match]

  38. implicit abstract val MemberDefTag: ClassTag[Universe.MemberDef]

  39. implicit abstract val MemberScopeTag: ClassTag[Universe.MemberScope]

  40. implicit abstract val MethodSymbolTag: ClassTag[Universe.MethodSymbol]

  41. implicit abstract val MethodTypeTag: ClassTag[Universe.MethodType]

  42. implicit abstract val MirrorTag: ClassTag[Universe.Mirror]

  43. implicit abstract val ModifiersTag: ClassTag[Universe.Modifiers]

  44. implicit abstract val ModuleDefTag: ClassTag[Universe.ModuleDef]

  45. implicit abstract val ModuleSymbolTag: ClassTag[Universe.ModuleSymbol]

  46. implicit abstract val NameTag: ClassTag[Universe.Name]

  47. implicit abstract val NameTreeTag: ClassTag[Universe.NameTree]

  48. implicit abstract val NestedArgumentTag: ClassTag[Universe.NestedArgument]

  49. implicit abstract val NewTag: ClassTag[Universe.New]

  50. implicit abstract val NullaryMethodTypeTag: ClassTag[Universe.NullaryMethodType]

  51. implicit abstract val PackageDefTag: ClassTag[Universe.PackageDef]

  52. implicit abstract val PolyTypeTag: ClassTag[Universe.PolyType]

  53. implicit abstract val PositionTag: ClassTag[Universe.Position]

  54. implicit abstract val RefTreeTag: ClassTag[Universe.RefTree]

  55. implicit abstract val RefinedTypeTag: ClassTag[Universe.RefinedType]

  56. implicit abstract val ReturnTag: ClassTag[Universe.Return]

  57. implicit abstract val RuntimeClassTag: ClassTag[Universe.RuntimeClass]

  58. implicit abstract val ScopeTag: ClassTag[Universe.Scope]

  59. implicit abstract val SelectFromTypeTreeTag: ClassTag[Universe.SelectFromTypeTree]

  60. implicit abstract val SelectTag: ClassTag[Universe.Select]

  61. implicit abstract val SingleTypeTag: ClassTag[Universe.SingleType]

  62. implicit abstract val SingletonTypeTag: ClassTag[Universe.SingletonType]

  63. implicit abstract val SingletonTypeTreeTag: ClassTag[Universe.SingletonTypeTree]

  64. implicit abstract val StarTag: ClassTag[Universe.Star]

  65. implicit abstract val SuperTag: ClassTag[Universe.Super]

  66. implicit abstract val SuperTypeTag: ClassTag[Universe.SuperType]

  67. implicit abstract val SymTreeTag: ClassTag[Universe.SymTree]

  68. implicit abstract val SymbolTag: ClassTag[Universe.Symbol]

  69. implicit abstract val TemplateTag: ClassTag[Universe.Template]

  70. implicit abstract val TermNameTag: ClassTag[Universe.TermName]

  71. implicit abstract val TermSymbolTag: ClassTag[Universe.TermSymbol]

  72. implicit abstract val TermTreeTag: ClassTag[Universe.TermTree]

  73. implicit abstract val ThisTag: ClassTag[Universe.This]

  74. implicit abstract val ThisTypeTag: ClassTag[Universe.ThisType]

  75. implicit abstract val ThrowTag: ClassTag[Universe.Throw]

  76. implicit abstract val TreeCopierTag: ClassTag[Universe.TreeCopier]

  77. implicit abstract val TreeTag: ClassTag[Universe.Tree]

  78. implicit abstract val TryTag: ClassTag[Universe.Try]

  79. implicit abstract val TypTreeTag: ClassTag[Universe.TypTree]

  80. implicit abstract val TypeApplyTag: ClassTag[Universe.TypeApply]

  81. implicit abstract val TypeBoundsTag: ClassTag[Universe.TypeBounds]

  82. implicit abstract val TypeBoundsTreeTag: ClassTag[Universe.TypeBoundsTree]

  83. implicit abstract val TypeDefTag: ClassTag[Universe.TypeDef]

  84. implicit abstract val TypeNameTag: ClassTag[Universe.TypeName]

  85. implicit abstract val TypeRefTag: ClassTag[Universe.TypeRef]

  86. implicit abstract val TypeSymbolTag: ClassTag[Universe.TypeSymbol]

  87. implicit abstract val TypeTagg: ClassTag[Universe.Type]

  88. implicit abstract val TypeTreeTag: ClassTag[Universe.TypeTree]

  89. implicit abstract val TypedTag: ClassTag[Universe.Typed]

  90. implicit abstract val UnApplyTag: ClassTag[Universe.UnApply]

  91. implicit abstract val ValDefTag: ClassTag[Universe.ValDef]

  92. implicit abstract val ValOrDefDefTag: ClassTag[Universe.ValOrDefDef]

Concrete Value Members

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

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

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

    Implicit information
    This member is added by an implicit conversion from ImplicitTags to any2stringadd[ImplicitTags] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ImplicitTags, B)

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

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown

    ClassCastException if the receiver object is not an instance of the erasure of type T0.

  7. def clone(): AnyRef

    Create a copy of the receiver object.

    Create a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
    Note

    not specified by SLS as a member of AnyRef

  8. def ensuring(cond: (ImplicitTags) ⇒ Boolean, msg: ⇒ Any): ImplicitTags

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

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

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

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

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    Tests whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an equivalence relation on non-null instances of AnyRef, and has three additional properties:

    • It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false.
    • For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false.
    • null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    The equality method for reference types.

    The equality method for reference types. Default implementation delegates to eq.

    See also equals in scala.Any.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

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

    Called by the garbage collector on the receiver object when there are no more references to the object.

    Called by the garbage collector on the receiver object when there are no more references to the object.

    The details of when and if the finalize method is invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
    Note

    not specified by SLS as a member of AnyRef

  15. def formatted(fmtstr: String): String

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

    A representation that corresponds to the dynamic class of the receiver object.

    A representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    Definition Classes
    AnyRef → Any
    Note

    not specified by SLS as a member of AnyRef

  17. def hashCode(): Int

    The hashCode method for reference types.

    The hashCode method for reference types. See hashCode in scala.Any.

    returns

    the hash code value for this object.

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

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

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

    Equivalent to !(this eq that).

    Equivalent to !(this eq that).

    returns

    true if the argument is not a reference to the receiver object; false otherwise.

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

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  21. final def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    Definition Classes
    AnyRef
    Note

    not specified by SLS as a member of AnyRef

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Creates a String representation of this object.

    Creates a String representation of this object. The default representation is platform dependent. On the java platform it is the concatenation of the class name, "@", and the object's hashcode in hexadecimal.

    returns

    a String representation of the object.

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def [B](y: B): (ImplicitTags, B)

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

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from ImplicitTags to any2stringadd[ImplicitTags]

Inherited by implicit conversion StringFormat from ImplicitTags to StringFormat[ImplicitTags]

Inherited by implicit conversion Ensuring from ImplicitTags to Ensuring[ImplicitTags]

Inherited by implicit conversion ArrowAssoc from ImplicitTags to ArrowAssoc[ImplicitTags]

Ungrouped