Trait

scala.reflect.api

ImplicitTags

Related Doc: package api

Permalink

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
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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract val AlternativeTag: ClassTag[Universe.Alternative]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

Concrete Value Members

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

    Permalink

    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

    Permalink

    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

    Permalink
    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)

    Permalink
    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

    Permalink

    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).

    returns

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

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

    Permalink

    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

    Permalink

    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

    Permalink
    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

    Permalink
    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

    Permalink
    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

    Permalink
    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

    Permalink

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

    Tests whether the argument (that) 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

    Permalink

    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

    Permalink

    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

    Permalink
    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[_]

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink

    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

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

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

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

    Permalink
    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