scala.reflect.internal.transform.Erasure

specialScalaErasure

object specialScalaErasure extends ScalaErasureMap

This is used as the Scala erasure during the erasure phase itself It differs from normal erasure in that value classes are erased to ErasedValueTypes which are then later converted to the underlying parameter type in phase posterasure.

Source
Erasure.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. specialScalaErasure
  2. ScalaErasureMap
  3. ErasureMap
  4. TypeMap
  5. Function1
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class TypeMapTransformer extends Transformer

    This transformer leaves the tree alone except to remap its types.

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def andThen[A](g: (Type) ⇒ A): (Type) ⇒ A

    Definition Classes
    Function1
  7. def apply(tp: Type): Type

    Definition Classes
    ErasureMapTypeMap → Function1
  8. def applyInArray(tp: Type): Type

    Definition Classes
    ErasureMap
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def compose[A](g: (A) ⇒ Type): (A) ⇒ Type

    Definition Classes
    Function1
  12. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  14. def eraseDerivedValueClassRef(clazz: Symbol): Type

    Definition Classes
    specialScalaErasureErasureMap
  15. def eraseNormalClassRef(pre: Type, clazz: Symbol): Type

    Definition Classes
    ErasureMap
  16. def finalize(): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. def mapOver(tree: Tree, giveup: () ⇒ Nothing): Tree

    Map a tree that is part of an annotation argument.

    Map a tree that is part of an annotation argument. If the tree cannot be mapped, then invoke giveup(). The default is to transform the tree with TypeMapTransformer.

    Definition Classes
    TypeMap
  21. def mapOver(tree: Tree): Tree

    Definition Classes
    TypeMap
  22. def mapOver(annot: AnnotationInfo): AnnotationInfo

    Definition Classes
    TypeMap
  23. def mapOver(origSyms: List[Symbol]): List[Symbol]

    Map this function over given list of symbols

    Map this function over given list of symbols

    Definition Classes
    TypeMap
  24. def mapOver(scope: Scope): Scope

    Map this function over given scope

    Map this function over given scope

    Definition Classes
    TypeMap
  25. def mapOver(tp: Type): Type

    Map this function over given type

    Map this function over given type

    Definition Classes
    TypeMap
  26. def mapOverAnnotArgs(args: List[Tree]): List[Tree]

    Map over a set of annotation arguments.

    Map over a set of annotation arguments. If any of the arguments cannot be mapped, then return Nil.

    Definition Classes
    TypeMap
  27. def mapOverAnnotations(annots: List[AnnotationInfo]): List[AnnotationInfo]

    Definition Classes
    TypeMap
  28. def mapOverArgs(args: List[Type], tparams: List[Symbol]): List[Type]

    Attributes
    protected
    Definition Classes
    TypeMap
  29. def mergeParents(parents: List[Type]): Type

    In scala, calculate a useful parent.

    In scala, calculate a useful parent. An intersection such as Object with Trait erases to Trait.

    Definition Classes
    ScalaErasureMapErasureMap
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def noChangeToSymbols(origSyms: List[Symbol]): Boolean

    Called by mapOver to determine whether the original symbols can be returned, or whether they must be cloned.

    Called by mapOver to determine whether the original symbols can be returned, or whether they must be cloned. Overridden in VariantTypeMap.

    Attributes
    protected
    Definition Classes
    TypeMap
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  36. def variance: Int

    Mix in VariantTypeMap if you want variances to be significant.

    Mix in VariantTypeMap if you want variances to be significant.

    Definition Classes
    TypeMap
  37. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from ScalaErasureMap

Inherited from ErasureMap

Inherited from TypeMap

Inherited from (Type) ⇒ Type

Inherited from AnyRef

Inherited from Any