Scala Reflection Library2.13.5 < 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
-  trait Liftables extends AnyRef
  Definition Classes
    api
- Liftable
- Unliftable

o

scala.reflect.api.Liftables

# Unliftable

###
Companion trait Unliftable

#### object Unliftable extends Universe.StandardUnliftableInstances

Companion to `Unliftable` type class that contains standard instances and provides a helper `apply` method to simplify creation of new ones.

Source
  Liftables.scala

Linear Supertypes
Universe.StandardUnliftableInstances, AnyRef, Any

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. Unliftable
2. StandardUnliftableInstances
3. AnyRef
4. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
4.  def apply[T](pf: PartialFunction[Universe.Tree, T]): Universe.Unliftable[T]

   A helper method that simplifies creation of `Unliftable` instances.

   A helper method that simplifies creation of `Unliftable` instances. Takes a partial function which is defined on correct representations of `T` and returns corresponding instances.

   For example to extract a reference to an object as object itself:

       scala> object O

       scala> val Oref = symbolOf[O.type].asClass.module

       scala> implicit val unliftO = Unliftable[O.type] { case t if t.symbol == Oref => O }

       scala> val q"${_: O.type}" = q"$Oref"

   See also

     https://docs.scala-lang.org/overviews/quasiquotes/unlifting.html

5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
7.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
8.  def equals(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef → Any
9.  def finalize(): Unit
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.Throwable])
10.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
11.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
12.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
13.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
14.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
15.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
16.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
17.  def toString(): String
    Definition Classes
      AnyRef → Any
18.  implicit def unliftBoolean: Universe.Unliftable[Boolean]
    Definition Classes
      StandardUnliftableInstances
19.  implicit def unliftByte: Universe.Unliftable[Byte]
    Definition Classes
      StandardUnliftableInstances
20.  implicit def unliftChar: Universe.Unliftable[Char]
    Definition Classes
      StandardUnliftableInstances
21.  implicit def unliftConstant: Universe.Unliftable[Universe.Constant]
    Definition Classes
      StandardUnliftableInstances
22.  implicit def unliftDouble: Universe.Unliftable[Double]
    Definition Classes
      StandardUnliftableInstances
23.  implicit def unliftFloat: Universe.Unliftable[Float]
    Definition Classes
      StandardUnliftableInstances
24.  implicit def unliftInt: Universe.Unliftable[Int]
    Definition Classes
      StandardUnliftableInstances
25.  implicit def unliftLong: Universe.Unliftable[Long]
    Definition Classes
      StandardUnliftableInstances
26.  implicit def unliftName[T <: Universe.Name](implicit arg0: ClassTag[T]): Universe.Unliftable[T]
    Definition Classes
      StandardUnliftableInstances
27.  implicit def unliftScalaSymbol: Universe.Unliftable[Symbol]
    Definition Classes
      StandardUnliftableInstances
28.  implicit def unliftShort: Universe.Unliftable[Short]
    Definition Classes
      StandardUnliftableInstances
29.  implicit def unliftString: Universe.Unliftable[String]
    Definition Classes
      StandardUnliftableInstances
30.  implicit def unliftTuple10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)]
    Definition Classes
      StandardUnliftableInstances
31.  implicit def unliftTuple11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)]
    Definition Classes
      StandardUnliftableInstances
32.  implicit def unliftTuple12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)]
    Definition Classes
      StandardUnliftableInstances
33.  implicit def unliftTuple13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)]
    Definition Classes
      StandardUnliftableInstances
34.  implicit def unliftTuple14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)]
    Definition Classes
      StandardUnliftableInstances
35.  implicit def unliftTuple15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)]
    Definition Classes
      StandardUnliftableInstances
36.  implicit def unliftTuple16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)]
    Definition Classes
      StandardUnliftableInstances
37.  implicit def unliftTuple17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)]
    Definition Classes
      StandardUnliftableInstances
38.  implicit def unliftTuple18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)]
    Definition Classes
      StandardUnliftableInstances
39.  implicit def unliftTuple19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)]
    Definition Classes
      StandardUnliftableInstances
40.  implicit def unliftTuple2[T1, T2](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2]): Universe.Unliftable[(T1, T2)]
    Definition Classes
      StandardUnliftableInstances
41.  implicit def unliftTuple20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20)]
    Definition Classes
      StandardUnliftableInstances
42.  implicit def unliftTuple21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20], UnliftT21: Universe.Unliftable[T21]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21)]
    Definition Classes
      StandardUnliftableInstances
43.  implicit def unliftTuple22[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9], UnliftT10: Universe.Unliftable[T10], UnliftT11: Universe.Unliftable[T11], UnliftT12: Universe.Unliftable[T12], UnliftT13: Universe.Unliftable[T13], UnliftT14: Universe.Unliftable[T14], UnliftT15: Universe.Unliftable[T15], UnliftT16: Universe.Unliftable[T16], UnliftT17: Universe.Unliftable[T17], UnliftT18: Universe.Unliftable[T18], UnliftT19: Universe.Unliftable[T19], UnliftT20: Universe.Unliftable[T20], UnliftT21: Universe.Unliftable[T21], UnliftT22: Universe.Unliftable[T22]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, T22)]
    Definition Classes
      StandardUnliftableInstances
44.  implicit def unliftTuple3[T1, T2, T3](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3]): Universe.Unliftable[(T1, T2, T3)]
    Definition Classes
      StandardUnliftableInstances
45.  implicit def unliftTuple4[T1, T2, T3, T4](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4]): Universe.Unliftable[(T1, T2, T3, T4)]
    Definition Classes
      StandardUnliftableInstances
46.  implicit def unliftTuple5[T1, T2, T3, T4, T5](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5]): Universe.Unliftable[(T1, T2, T3, T4, T5)]
    Definition Classes
      StandardUnliftableInstances
47.  implicit def unliftTuple6[T1, T2, T3, T4, T5, T6](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6)]
    Definition Classes
      StandardUnliftableInstances
48.  implicit def unliftTuple7[T1, T2, T3, T4, T5, T6, T7](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7)]
    Definition Classes
      StandardUnliftableInstances
49.  implicit def unliftTuple8[T1, T2, T3, T4, T5, T6, T7, T8](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8)]
    Definition Classes
      StandardUnliftableInstances
50.  implicit def unliftTuple9[T1, T2, T3, T4, T5, T6, T7, T8, T9](implicit UnliftT1: Universe.Unliftable[T1], UnliftT2: Universe.Unliftable[T2], UnliftT3: Universe.Unliftable[T3], UnliftT4: Universe.Unliftable[T4], UnliftT5: Universe.Unliftable[T5], UnliftT6: Universe.Unliftable[T6], UnliftT7: Universe.Unliftable[T7], UnliftT8: Universe.Unliftable[T8], UnliftT9: Universe.Unliftable[T9]): Universe.Unliftable[(T1, T2, T3, T4, T5, T6, T7, T8, T9)]
    Definition Classes
      StandardUnliftableInstances
51.  implicit def unliftType: Universe.Unliftable[Universe.Type]
    Definition Classes
      StandardUnliftableInstances
52.  implicit def unliftUnit: Universe.Unliftable[Unit]
    Definition Classes
      StandardUnliftableInstances
53.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
54.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
55.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Inherited from Universe.StandardUnliftableInstances

### Inherited from AnyRef

### Inherited from Any

### Ungrouped