Packages

c

scala.tools.nsc.transform.Erasure

GenerateBridges

class GenerateBridges extends EnterBridges

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GenerateBridges
  2. EnterBridges
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GenerateBridges(unit: Global.CompilationUnit, root: Global.Symbol)

Type Members

  1. class BridgesCursor extends Global.overridingPairs.Cursor
    Definition Classes
    EnterBridges

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 addBridge(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Unit
    Definition Classes
    GenerateBridgesEnterBridges
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val bridgeTarget: HashMap[Global.Symbol, Global.Symbol]
    Definition Classes
    EnterBridges
  7. var bridges: collection.immutable.List[Global.Tree]
  8. val bridgesScope: Global.Scope
    Definition Classes
    EnterBridges
  9. def checkBridgeOverrides(member: Global.Symbol, other: Global.Symbol, bridge: Global.Symbol): Seq[(Global.Position, String)]

    Check that a bridge only overrides members that are also overridden by the original member.

    Check that a bridge only overrides members that are also overridden by the original member. This test is necessary only for members that have a value class in their type. Such members are special because their types after erasure and after post-erasure differ/. This means we generate them after erasure, but the post-erasure transform might introduce a name clash. The present method guards against these name clashes.

    member

    The original member

    other

    The overridden symbol for which the bridge was generated

    bridge

    The bridge

    Definition Classes
    EnterBridges
  10. def checkPair(pair: SymbolPair): Unit

    TODO - work through this logic with a fine-toothed comb, incorporating into SymbolPairs where appropriate.

    TODO - work through this logic with a fine-toothed comb, incorporating into SymbolPairs where appropriate.

    Definition Classes
    EnterBridges
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  12. def computeAndEnter(): Unit
    Definition Classes
    EnterBridges
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def generate(): (List[Global.Tree], Set[Global.Symbol])
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def makeBridgeDefDef(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Global.DefDef
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. val opc: BridgesCursor
    Definition Classes
    EnterBridges
  25. val site: Global.Type
    Definition Classes
    EnterBridges
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. var toBeRemoved: Set[Global.Symbol]
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from EnterBridges

Inherited from AnyRef

Inherited from Any

Ungrouped