Scala Compiler2.12.3-1 < 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 backend
  Definition Classes
    nsc
-  package jvm
  Definition Classes
    backend
-  abstract class GenBCode extends BCodeSyncAndTry
  Definition Classes
    jvm
- AsmpBytecodeWriter
- BCAnnotGen
- BCClassGen
- BCForwardersGen
- BCInnerClassGen
- BCJGenSigGen
- BCPickles
- BCodePhase
- BytecodeWriter
- CClassWriter
- ClassBytecodeWriter
- DirectToJarfileWriter
- DumpBytecodeWriter
- EnclosingMethodEntry
- InsnIterInsnList
- InsnIterMethodNode
- JAndroidBuilder
- JBeanInfoBuilder
- JCodeMethodN
- JCommonBuilder
- JMirrorBuilder
- LabelDefsFinder
- PlainBodyBuilder
- PlainClassBuilder
- PlainSkelBuilder
- StdPhase
- SyncAndTryBuilder
- delambdafyInline
- isJavaEntryPoint

c

scala.tools.nsc.backend.jvm.GenBCode

# BCodePhase 

###

#### class BCodePhase extends StdPhase

Source
  GenBCode.scala

Linear Supertypes
GenBCode.StdPhase, GlobalPhase, reflect.internal.Phase, AnyRef, Any
Type Hierarchy
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. BCodePhase
2. StdPhase
3. GlobalPhase
4. Phase
5. AnyRef
6. 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 BCodePhase(prev: Phase)

### Type Members

1.  type Id = Int
   Definition Classes
     Phase
2.  case class Item1 (arrivalPos: Int, cd: Global.ClassDef, cunit: Global.CompilationUnit) extends Product with Serializable
3.  case class Item2 (arrivalPos: Int, mirror: ClassNode, plain: ClassNode, bean: ClassNode, sourceFilePath: String, outFolder: AbstractFile) extends Product with Serializable
4.  case class Item3 (arrivalPos: Int, mirror: SubItem3, plain: SubItem3, bean: SubItem3, outFolder: AbstractFile) extends Product with Serializable
5.  case class SubItem3 (jclassName: String, jclassBytes: Array[Byte]) extends Product with Serializable
6.  class Worker1 extends AnyRef
7.  class Worker2 extends AnyRef

### 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 BCodePhase to any2stringadd[BCodePhase] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (BCodePhase, B)
   Implicit
     This member is added by an implicit conversion from BCodePhase to ArrowAssoc[BCodePhase] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
6.  def apply(cunit: Global.CompilationUnit): Unit
   Definition Classes
     BCodePhase → GlobalPhase
7.  final def applyPhase(unit: Global.CompilationUnit): Unit
   Definition Classes
     GlobalPhase
8.  var arrivalPos: Int
9.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
10.  final val assignsFields: Boolean
    Definition Classes
      Phase
11.  def cancelled(unit: Global.CompilationUnit): Boolean

    Is current phase cancelled on this unit?

    Is current phase cancelled on this unit?

    Definition Classes
      GlobalPhase
12.  def checkable: Boolean
    Definition Classes
      Phase
13.  def clone(): AnyRef
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
14.  def description: String
    Definition Classes
      BCodePhase → Phase
15.  def ensuring(cond: (BCodePhase) ⇒ Boolean, msg: ⇒ Any): BCodePhase
    Implicit
      This member is added by an implicit conversion from BCodePhase to Ensuring[BCodePhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  def ensuring(cond: (BCodePhase) ⇒ Boolean): BCodePhase
    Implicit
      This member is added by an implicit conversion from BCodePhase to Ensuring[BCodePhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
17.  def ensuring(cond: Boolean, msg: ⇒ Any): BCodePhase
    Implicit
      This member is added by an implicit conversion from BCodePhase to Ensuring[BCodePhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
18.  def ensuring(cond: Boolean): BCodePhase
    Implicit
      This member is added by an implicit conversion from BCodePhase to Ensuring[BCodePhase] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
19.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
20.  def equals(other: Any): Boolean
    Definition Classes
      Phase → AnyRef → Any
21.  def erasedTypes: Boolean
    Definition Classes
      BCodePhase → Phase
22.  def finalize(): Unit
    Attributes
      protected[java.lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
23.  def flagMask: Long
    Definition Classes
      Phase
24.  final val flatClasses: Boolean
    Definition Classes
      Phase
25.  val fmask: Long
    Definition Classes
      Phase
26.  def formatted(fmtstr: String): String
    Implicit
      This member is added by an implicit conversion from BCodePhase to StringFormat[BCodePhase] performed by method StringFormat in scala.Predef.
    Definition Classes
      StringFormat
    Annotations
      @inline()
27.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
28.  def hasNext: Boolean
    Definition Classes
      Phase
29.  def hashCode(): Int
    Definition Classes
      Phase → AnyRef → Any
30.  val id: Id
    Definition Classes
      Phase
31.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
32.  def iterator: collection.Iterator[reflect.internal.Phase]
    Definition Classes
      Phase
33.  def keepsTypeParams: Boolean
    Definition Classes
      Phase
34.  def name: String
    Definition Classes
      BCodePhase → StdPhase → Phase
35.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
36.  def newFlags: Long
    Definition Classes
      StdPhase → Phase
37.  def next: reflect.internal.Phase
    Definition Classes
      Phase
38.  def nextFlags: Long
    Definition Classes
      StdPhase → Phase
39.  final def notify(): Unit
    Definition Classes
      AnyRef
40.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
41.  val prev: reflect.internal.Phase
    Definition Classes
      Phase
42.  final val refChecked: Boolean
    Definition Classes
      Phase
43.  def run(): Unit

    The `run` method is overridden because the backend has a different data flow than the default phase: the backend does not transform compilation units one by one, but on all units in the same run.

    The `run` method is overridden because the backend has a different data flow than the default phase: the backend does not transform compilation units one by one, but on all units in the same run. This allows cross-unit optimizations and running some stages of the backend concurrently on multiple units.

    A run of the BCodePhase phase comprises:

    (a) set-up steps (most notably supporting maps in `BCodeTypes`, but also "the" writer where class files in byte-array form go)

    (b) building of ASM ClassNodes, their optimization and serialization.

    (c) tear down (closing the classfile-writer and clearing maps)

    Definition Classes
      BCodePhase → GlobalPhase → Phase
44.  final val specialized: Boolean
    Definition Classes
      Phase
45.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
46.  def toString(): String
    Definition Classes
      Phase → AnyRef → Any
47.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
48.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
49.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
50.  final def withCurrentUnit(unit: Global.CompilationUnit)(task: ⇒ Unit): Unit
    Definition Classes
      GlobalPhase
51.  final def withCurrentUnitNoLog(unit: Global.CompilationUnit)(task: ⇒ Unit): Unit
    Definition Classes
      GlobalPhase
52.  def →[B](y: B): (BCodePhase, B)
    Implicit
      This member is added by an implicit conversion from BCodePhase to ArrowAssoc[BCodePhase] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Inherited from GenBCode.StdPhase

### Inherited from GlobalPhase

### Inherited from reflect.internal.Phase

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped