Scala Reflection Library2.12.21 < 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
 
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]
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
   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 to any2stringadd[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 to ArrowAssoc[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( ... ) @native()
8.  def ensuring(cond: (ImplicitTags) ⇒ Boolean, msg: ⇒ Any): ImplicitTags
   Implicit
     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
     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
      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
      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
    Definition Classes
      AnyRef
13.  def equals(arg0: Any): 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[_]
    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( ... )
24.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
25.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
26.  def →[B](y: B): (ImplicitTags, B)
    Implicit
      This member is added by an implicit conversion from ImplicitTags to ArrowAssoc[ImplicitTags] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from ImplicitTags to StringFormat[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.

### 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