class GenerateBridges extends EnterBridges
- Alphabetic
- By Inheritance
- GenerateBridges
- EnterBridges
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new GenerateBridges(unit: Global.CompilationUnit, root: Global.Symbol)
Type Members
-
class
BridgesCursor extends Global.overridingPairs.Cursor
- Definition Classes
- EnterBridges
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addBridge(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Unit
- Definition Classes
- GenerateBridges → EnterBridges
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
bridgeTarget: HashMap[Global.Symbol, Global.Symbol]
- Definition Classes
- EnterBridges
- var bridges: collection.immutable.List[Global.Tree]
-
val
bridgesScope: Global.Scope
- Definition Classes
- EnterBridges
-
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
-
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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
computeAndEnter(): Unit
- Definition Classes
- EnterBridges
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def generate(): (List[Global.Tree], Set[Global.Symbol])
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def makeBridgeDefDef(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Global.DefDef
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
opc: BridgesCursor
- Definition Classes
- EnterBridges
-
val
site: Global.Type
- Definition Classes
- EnterBridges
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var toBeRemoved: Set[Global.Symbol]
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )