Scala Compiler2.12.10 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package transform
  Definition Classes
    nsc
-  abstract class Erasure extends SubComponent with InfoTransform with reflect.internal.transform.Erasure with Analyzer with TypingTransformers with TreeDSL with TypeAdaptingTransformer
  Definition Classes
    transform
- AbsAmbiguousTypeError
- AbsTypeError
- AccessTypeError
- Adaptation
- AdjustedTypeArgs
- AmbiguousImplicitTypeError
- AmbiguousTypeError
- AnalyzerPlugin
- CODE
- CaseApplyDefaultGetters
- ClassForCaseCompanionAttachment
- ClassMethodSynthesis
- CompleterWrapper
- ConstructorDefaultsAttachment
- Context
- ContextReporter
- DefMacroExpander
- DefaultsOfLocalMethodAttachment
- Delayed
- DivergentImplicitTypeError
- DynamicRewriteAttachment
- EnterBridges
- Eraser
- ErasureMap
- ErasureTransformer
- ErrorUtils
- Failure
- Fallback
- Function1
- GenerateBridges
- GenericArray
- HasMember
- HasMethodMatching
- HasUnapply
- ImplicitAmbiguousMsg
- ImplicitAnnotationMsg
- ImplicitInfo
- ImplicitNotFoundMsg
- ImplicitSearch
- ImplicitsContextErrors
- ImportContext
- ImportInfo
- InferCheckable
- Inferencer
- InferencerContextErrors
- JavaErasureMap
- JavaReflectionResolvers
- LockingTypeCompleter
- MacroArgs
- MacroExpander
- MacroExpanderAttachment
- MacroExpansionAttachment
- MacroImplBinding
- MacroImplRefAttachment
- MacroPlugin
- MacroRuntimeAttachment
- MacroRuntimeResolver
- MacroStatus
- Message
- MethodSynth
- MethodValueAttachment
- NamedApplyBlock
- NamedApplyInfo
- Namer
- NamerContextErrors
- NamesDefaultsErrorsGen
- NoContext
- NoInstance
- NormalTypeError
- NormalTypeErrorFromCyclicReference
- OpenImplicit
- OriginalTreeAttachment
- PatternTyper
- Phase
- PolyTypeCompleter
- PosAndMsgTypeError
- ScalaErasureMap
- SearchResult
- Shadower
- SilentResult
- SilentResultValue
- SilentTypeError
- Skipped
- StdPhase
- Success
- SuperArgsAttachment
- SuppressMacroExpansionAttachment
- SymbolTypeError
- Tag
- TreeTypeError
- TypeAdapter
- TypeCompleter
- TypeCompleterBase
- TypeDiag
- TypeErrorWithUnderlyingTree
- TypeErrorWrapper
- Typer
- TyperContextErrors
- TyperDiagnostics
- TypingTransformer
- UnknownSig
- approximateAbstracts
- checkDead
- checkNoEscaping
- checkUnused
- instantiate
- javaErasure
- namerFactory
- packageObjects
- specialScalaErasure
- toOrigin
- typerFactory
- typingStack

c

scala.tools.nsc.transform.Erasure

# GenerateBridges 

###

#### class GenerateBridges extends EnterBridges

Source
  Erasure.scala

Linear Supertypes
EnterBridges, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. GenerateBridges
2. EnterBridges
3. AnyRef
4. 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

### 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.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from GenerateBridges to any2stringadd[GenerateBridges] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (GenerateBridges, B)
   Implicit
     This member is added by an implicit conversion from GenerateBridges to ArrowAssoc[GenerateBridges] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def addBridge(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Unit
   Definition Classes
     GenerateBridges → EnterBridges
7.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
8.  val bridgeTarget: HashMap[Global.Symbol, Global.Symbol]
   Definition Classes
     EnterBridges
9.  var bridges: collection.immutable.List[Global.Tree]
10.  val bridgesScope: Global.Scope
    Definition Classes
      EnterBridges
11.  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
12.  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
13.  def clone(): AnyRef
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
14.  def computeAndEnter(): Unit
    Definition Classes
      EnterBridges
15.  def ensuring(cond: (GenerateBridges) ⇒ Boolean, msg: ⇒ Any): GenerateBridges
    Implicit
      This member is added by an implicit conversion from GenerateBridges to Ensuring[GenerateBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: (GenerateBridges) ⇒ Boolean): GenerateBridges
    Implicit
      This member is added by an implicit conversion from GenerateBridges to Ensuring[GenerateBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean, msg: ⇒ Any): GenerateBridges
    Implicit
      This member is added by an implicit conversion from GenerateBridges to Ensuring[GenerateBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  def ensuring(cond: Boolean): GenerateBridges
    Implicit
      This member is added by an implicit conversion from GenerateBridges to Ensuring[GenerateBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
21.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
22.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from GenerateBridges to StringFormat[GenerateBridges] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
23.  def generate(): (List[Global.Tree], Set[Global.Symbol])
24.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
25.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
26.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
27.  final def makeBridgeDefDef(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Global.DefDef
28.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
29.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
30.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
31.  val opc: BridgesCursor
    Definition Classes
      EnterBridges
32.  val site: Global.Type
    Definition Classes
      EnterBridges
33.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
34.  var toBeRemoved: Set[Global.Symbol]
35.  def toString(): String
    Definition Classes
      AnyRef → Any
36.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
37.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
38.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
39.  def →[B](y: B): (GenerateBridges, B)
    Implicit
      This member is added by an implicit conversion from GenerateBridges to ArrowAssoc[GenerateBridges] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from EnterBridges

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd from GenerateBridges to any2stringadd[GenerateBridges]

### Inherited by implicit conversion StringFormat from GenerateBridges to StringFormat[GenerateBridges]

### Inherited by implicit conversion Ensuring from GenerateBridges to Ensuring[GenerateBridges]

### Inherited by implicit conversion ArrowAssoc from GenerateBridges to ArrowAssoc[GenerateBridges]

### Ungrouped