Scala Compiler2.12.0 < Back
 

# Packages

-  package root

  The Scala compiler API.

  The Scala compiler API.

  The following resources are useful for Scala plugin/compiler development:

  - Scala development tutorials on www.scala-lang.org
  - Scala Internals wiki
  - Scala compiler corner, maintained by Miguel
  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
- AmbiguousImplicitTypeError
- AmbiguousTypeError
- AnalyzerPlugin
- CODE
- ClassForCaseCompanionAttachment
- ClassMethodSynthesis
- ComputeBridges
- ConstructorDefaultsAttachment
- Context
- ContextReporter
- DefMacroExpander
- DefaultsOfLocalMethodAttachment
- Delayed
- DivergentImplicitTypeError
- DynamicRewriteAttachment
- Eraser
- ErasureMap
- ErasureTransformer
- ErrorUtils
- Failure
- Fallback
- Function1
- 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
- NamedApplyInfo
- Namer
- NamerContextErrors
- NamesDefaultsErrorsGen
- NoContext
- NoInstance
- NormalTypeError
- NormalTypeErrorFromCyclicReference
- OpenImplicit
- PatternTyper
- Phase
- PolyTypeCompleter
- PosAndMsgTypeError
- ScalaErasureMap
- SearchResult
- SilentResult
- SilentResultValue
- SilentTypeError
- Skipped
- StdPhase
- Success
- SuperArgsAttachment
- SuppressMacroExpansionAttachment
- SymbolTypeError
- Tag
- TreeTypeError
- TypeAdapter
- TypeCompleter
- TypeDiag
- TypeErrorWithUnderlyingTree
- TypeErrorWrapper
- TypeParamVarargsAttachment
- Typer
- TyperContextErrors
- TyperDiagnostics
- TypingTransformer
- UnknownSig
- instantiate
- javaErasure
- mixinTransformer
- namerFactory
- packageObjects
- scalaErasure
- specialScalaErasure
- typerFactory
- typingStack

c

scala.tools.nsc.transform.Erasure

# ComputeBridges 

###

#### class ComputeBridges extends AnyRef

Source
  Erasure.scala

Linear Supertypes
AnyRef, Any
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ComputeBridges
2. AnyRef
3. 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 ComputeBridges(unit: Global.CompilationUnit, root: Global.Symbol)

### 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 ComputeBridges to any2stringadd[ComputeBridges] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ComputeBridges, B)
   Implicit
     This member is added by an implicit conversion from ComputeBridges to ArrowAssoc[ComputeBridges] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
7.  val bridgeTarget: HashMap[Global.Symbol, Global.Symbol]
8.  var bridges: collection.immutable.List[Global.Tree]
9.  val bridgesScope: Global.Scope
10.  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

11.  def checkPair(pair: SymbolPair): Unit

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

12.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
13.  def compute(): (List[Global.Tree], Set[Global.Symbol])
14.  def ensuring(cond: (ComputeBridges) ⇒ Boolean, msg: ⇒ Any): ComputeBridges
    Implicit
      This member is added by an implicit conversion from ComputeBridges to Ensuring[ComputeBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: (ComputeBridges) ⇒ Boolean): ComputeBridges
    Implicit
      This member is added by an implicit conversion from ComputeBridges to Ensuring[ComputeBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: Boolean, msg: ⇒ Any): ComputeBridges
    Implicit
      This member is added by an implicit conversion from ComputeBridges to Ensuring[ComputeBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean): ComputeBridges
    Implicit
      This member is added by an implicit conversion from ComputeBridges to Ensuring[ComputeBridges] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
19.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
20.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
21.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from ComputeBridges to StringFormat[ComputeBridges] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
22.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
23.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
24.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
25.  def makeBridgeDefDef(bridge: Global.Symbol, member: Global.Symbol, other: Global.Symbol): Global.DefDef
26.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
27.  final def notify(): Unit
    Definition Classes
      AnyRef
28.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
29.  val opc: Global.overridingPairs.Cursor
30.  val site: Global.Type
31.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
32.  var toBeRemoved: Set[Global.Symbol]
33.  def toString(): String
    Definition Classes
      AnyRef → Any
34.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
35.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
36.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
37.  def →[B](y: B): (ComputeBridges, B)
    Implicit
      This member is added by an implicit conversion from ComputeBridges to ArrowAssoc[ComputeBridges] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped