Scala Reflection Library2.13.17 < Back


# Packages

-  package root
  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package reflect
  Definition Classes
    scala
-  package api

  EXPERIMENTAL

  EXPERIMENTAL

  The Scala Reflection API (located in scala-reflect.jar).

  In Scala 2.10.0, the Scala Reflection API and its implementation have an "experimental" status. This means that the API and the docs are not complete and can be changed in binary- and source-incompatible manner in 2.10.1. This also means that the implementation has some known issues.

  The following types are the backbone of the Scala Reflection API, and serve as a good starting point for information about Scala Reflection:

  - scala.reflect.api.Symbols
  - scala.reflect.api.Types
  - scala.reflect.api.Mirrors
  - scala.reflect.api.Universe

  For more information about Scala Reflection, see the Reflection Guide

  Definition Classes
    reflect
- Annotations
- Constants
- Exprs
- FlagSets
- ImplicitTags
- Internals
- JavaUniverse
- Liftables
- Mirror
- Mirrors
- Names
- Position
- Positions
- Printers
- Quasiquotes
- Scopes
- StandardDefinitions
- StandardLiftables
- StandardNames
- Symbols
- TreeCreator
- Trees
- TypeCreator
- TypeTags
- Types
- Universe

t

scala.reflect.api

# ImplicitTags

###

#### 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
AnyRef, Any
Known Subclasses
JavaUniverse, Universe, Universe
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. Protected

### 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 AssignTag: ClassTag[Universe.Assign]
8.  implicit abstract val BindTag: ClassTag[Universe.Bind]
9.  implicit abstract val BlockTag: ClassTag[Universe.Block]
10.  implicit abstract val BoundedWildcardTypeTag: ClassTag[Universe.BoundedWildcardType]
11.  implicit abstract val CaseDefTag: ClassTag[Universe.CaseDef]
12.  implicit abstract val ClassDefTag: ClassTag[Universe.ClassDef]
13.  implicit abstract val ClassInfoTypeTag: ClassTag[Universe.ClassInfoType]
14.  implicit abstract val ClassSymbolTag: ClassTag[Universe.ClassSymbol]
15.  implicit abstract val CompoundTypeTag: ClassTag[Universe.CompoundType]
16.  implicit abstract val CompoundTypeTreeTag: ClassTag[Universe.CompoundTypeTree]
17.  implicit abstract val ConstantTag: ClassTag[Universe.Constant]
18.  implicit abstract val ConstantTypeTag: ClassTag[Universe.ConstantType]
19.  implicit abstract val DefDefTag: ClassTag[Universe.DefDef]
20.  implicit abstract val DefTreeTag: ClassTag[Universe.DefTree]
21.  implicit abstract val ExistentialTypeTag: ClassTag[Universe.ExistentialType]
22.  implicit abstract val ExistentialTypeTreeTag: ClassTag[Universe.ExistentialTypeTree]
23.  implicit abstract val FlagSetTag: ClassTag[Universe.FlagSet]
24.  implicit abstract val FunctionTag: ClassTag[Universe.Function]
25.  implicit abstract val GenericApplyTag: ClassTag[Universe.GenericApply]
26.  implicit abstract val IdentTag: ClassTag[Universe.Ident]
27.  implicit abstract val IfTag: ClassTag[Universe.If]
28.  implicit abstract val ImplDefTag: ClassTag[Universe.ImplDef]
29.  implicit abstract val ImportSelectorTag: ClassTag[Universe.ImportSelector]
30.  implicit abstract val ImportTag: ClassTag[Universe.Import]
31.  implicit abstract val JavaArgumentTag: ClassTag[Universe.JavaArgument]
    Annotations
      @nowarn()
32.  implicit abstract val LabelDefTag: ClassTag[Universe.LabelDef]
33.  implicit abstract val LiteralTag: ClassTag[Universe.Literal]
34.  implicit abstract val MatchTag: ClassTag[Universe.Match]
35.  implicit abstract val MemberDefTag: ClassTag[Universe.MemberDef]
36.  implicit abstract val MemberScopeTag: ClassTag[Universe.MemberScope]
37.  implicit abstract val MethodSymbolTag: ClassTag[Universe.MethodSymbol]
38.  implicit abstract val MethodTypeTag: ClassTag[Universe.MethodType]
39.  implicit abstract val MirrorTag: ClassTag[Universe.Mirror]
40.  implicit abstract val ModifiersTag: ClassTag[Universe.Modifiers]
41.  implicit abstract val ModuleDefTag: ClassTag[Universe.ModuleDef]
42.  implicit abstract val ModuleSymbolTag: ClassTag[Universe.ModuleSymbol]
43.  implicit abstract val NameTag: ClassTag[Universe.Name]
44.  implicit abstract val NameTreeTag: ClassTag[Universe.NameTree]
45.  implicit abstract val NamedArgTag: ClassTag[Universe.NamedArg]
46.  implicit abstract val NewTag: ClassTag[Universe.New]
47.  implicit abstract val NullaryMethodTypeTag: ClassTag[Universe.NullaryMethodType]
48.  implicit abstract val PackageDefTag: ClassTag[Universe.PackageDef]
49.  implicit abstract val PolyTypeTag: ClassTag[Universe.PolyType]
50.  implicit abstract val PositionTag: ClassTag[Universe.Position]
51.  implicit abstract val RefTreeTag: ClassTag[Universe.RefTree]
52.  implicit abstract val RefinedTypeTag: ClassTag[Universe.RefinedType]
53.  implicit abstract val ReturnTag: ClassTag[Universe.Return]
54.  implicit abstract val RuntimeClassTag: ClassTag[Universe.RuntimeClass]
55.  implicit abstract val ScopeTag: ClassTag[Universe.Scope]
56.  implicit abstract val SelectFromTypeTreeTag: ClassTag[Universe.SelectFromTypeTree]
57.  implicit abstract val SelectTag: ClassTag[Universe.Select]
58.  implicit abstract val SingleTypeTag: ClassTag[Universe.SingleType]
59.  implicit abstract val SingletonTypeTag: ClassTag[Universe.SingletonType]
60.  implicit abstract val SingletonTypeTreeTag: ClassTag[Universe.SingletonTypeTree]
61.  implicit abstract val StarTag: ClassTag[Universe.Star]
62.  implicit abstract val SuperTag: ClassTag[Universe.Super]
63.  implicit abstract val SuperTypeTag: ClassTag[Universe.SuperType]
64.  implicit abstract val SymTreeTag: ClassTag[Universe.SymTree]
65.  implicit abstract val SymbolTag: ClassTag[Universe.Symbol]
66.  implicit abstract val TemplateTag: ClassTag[Universe.Template]
67.  implicit abstract val TermNameTag: ClassTag[Universe.TermName]
68.  implicit abstract val TermSymbolTag: ClassTag[Universe.TermSymbol]
69.  implicit abstract val TermTreeTag: ClassTag[Universe.TermTree]
70.  implicit abstract val ThisTag: ClassTag[Universe.This]
71.  implicit abstract val ThisTypeTag: ClassTag[Universe.ThisType]
72.  implicit abstract val ThrowTag: ClassTag[Universe.Throw]
73.  implicit abstract val TreeCopierTag: ClassTag[Universe.TreeCopier]
74.  implicit abstract val TreeTag: ClassTag[Universe.Tree]
75.  implicit abstract val TryTag: ClassTag[Universe.Try]
76.  implicit abstract val TypTreeTag: ClassTag[Universe.TypTree]
77.  implicit abstract val TypeApplyTag: ClassTag[Universe.TypeApply]
78.  implicit abstract val TypeBoundsTag: ClassTag[Universe.TypeBounds]
79.  implicit abstract val TypeBoundsTreeTag: ClassTag[Universe.TypeBoundsTree]
80.  implicit abstract val TypeDefTag: ClassTag[Universe.TypeDef]
81.  implicit abstract val TypeNameTag: ClassTag[Universe.TypeName]
82.  implicit abstract val TypeRefTag: ClassTag[Universe.TypeRef]
83.  implicit abstract val TypeSymbolTag: ClassTag[Universe.TypeSymbol]
84.  implicit abstract val TypeTagg: ClassTag[Universe.Type]
85.  implicit abstract val TypeTreeTag: ClassTag[Universe.TypeTree]
86.  implicit abstract val TypedTag: ClassTag[Universe.Typed]
87.  implicit abstract val UnApplyTag: ClassTag[Universe.UnApply]
88.  implicit abstract val ValDefTag: ClassTag[Universe.ValDef]
89.  implicit abstract val ValOrDefDefTag: ClassTag[Universe.ValOrDefDef]

### Concrete Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from ImplicitTags toany2stringadd[ImplicitTags] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ImplicitTags, B)
   Implicit
     This member is added by an implicit conversion from ImplicitTags toArrowAssoc[ImplicitTags] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
8.  def ensuring(cond: (ImplicitTags) => Boolean, msg: => Any): ImplicitTags
   Implicit
     This member is added by an implicit conversion from ImplicitTags toEnsuring[ImplicitTags] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
9.  def ensuring(cond: (ImplicitTags) => Boolean): ImplicitTags
   Implicit
     This member is added by an implicit conversion from ImplicitTags toEnsuring[ImplicitTags] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: Boolean, msg: => Any): ImplicitTags
    Implicit
      This member is added by an implicit conversion from ImplicitTags toEnsuring[ImplicitTags] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def ensuring(cond: Boolean): ImplicitTags
    Implicit
      This member is added by an implicit conversion from ImplicitTags toEnsuring[ImplicitTags] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
14.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
15.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
17.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
18.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
21.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
22.  def toString(): String
    Definition Classes
      AnyRef → Any
23.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
24.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
25.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from ImplicitTags toStringFormat[ImplicitTags] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): (ImplicitTags, B)
   Implicit
     This member is added by an implicit conversion from ImplicitTags toArrowAssoc[ImplicitTags] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromImplicitTags to any2stringadd[ImplicitTags]

### Inherited by implicit conversion StringFormat fromImplicitTags to StringFormat[ImplicitTags]

### Inherited by implicit conversion Ensuring fromImplicitTags to Ensuring[ImplicitTags]

### Inherited by implicit conversion ArrowAssoc fromImplicitTags to ArrowAssoc[ImplicitTags]

### Ungrouped