Scala Compiler2.12.17 < 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 PostProcessor extends PerRunInit

  Implements late stages of the backend that don't depend on a Global instance, i.e., optimizations, post-processing and classfile serialization and writing.

  Implements late stages of the backend that don't depend on a Global instance, i.e., optimizations, post-processing and classfile serialization and writing.

  Definition Classes
    jvm
- ClassWriterWithBTypeLub

c

scala.tools.nsc.backend.jvm.PostProcessor

# ClassWriterWithBTypeLub 

###

#### final class ClassWriterWithBTypeLub extends ClassWriter

An asm ClassWriter that uses ClassBType.jvmWiseLUB to compute the common superclass of class types. This operation is used for computing stack map frames.

Source
  PostProcessor.scala

Linear Supertypes
ClassWriter, ClassVisitor, AnyRef, Any
 
Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. ClassWriterWithBTypeLub
2. ClassWriter
3. ClassVisitor
4. AnyRef
5. 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 ClassWriterWithBTypeLub(flags: Int)

### 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 ClassWriterWithBTypeLub to any2stringadd[ClassWriterWithBTypeLub] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (ClassWriterWithBTypeLub, B)
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub to ArrowAssoc[ClassWriterWithBTypeLub] 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.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws( ... ) @native()
8.  def ensuring(cond: (ClassWriterWithBTypeLub) ⇒ Boolean, msg: ⇒ Any): ClassWriterWithBTypeLub
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub to Ensuring[ClassWriterWithBTypeLub] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
9.  def ensuring(cond: (ClassWriterWithBTypeLub) ⇒ Boolean): ClassWriterWithBTypeLub
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub to Ensuring[ClassWriterWithBTypeLub] performed by method Ensuring in scala.Predef.
   Definition Classes
     Ensuring
10.  def ensuring(cond: Boolean, msg: ⇒ Any): ClassWriterWithBTypeLub
    Implicit
      This member is added by an implicit conversion from ClassWriterWithBTypeLub to Ensuring[ClassWriterWithBTypeLub] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
11.  def ensuring(cond: Boolean): ClassWriterWithBTypeLub
    Implicit
      This member is added by an implicit conversion from ClassWriterWithBTypeLub to Ensuring[ClassWriterWithBTypeLub] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
12.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
13.  def equals(arg0: Any): Boolean
    Definition Classes
      AnyRef → Any
14.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws( classOf[java.lang.Throwable] )
15.  final def getClass(): Class[_]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  def getClassLoader(): ClassLoader
    Attributes
      protected[asm]
    Definition Classes
      ClassWriter
17.  def getCommonSuperClass(inameA: String, inameB: String): String

    This method is invoked by asm during classfile writing when computing stack map frames.

    This method is invoked by asm during classfile writing when computing stack map frames.

    TODO: it might make sense to cache results per compiler run. The ClassWriter caches internally, but we create a new writer for each class. scala/scala-dev#322.

    Definition Classes
      ClassWriterWithBTypeLub → ClassWriter
18.  def hasFlags(flags: Int): Boolean
    Definition Classes
      ClassWriter
19.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
20.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
21.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
22.  def newClass(value: String): Int
    Definition Classes
      ClassWriter
23.  def newConst(value: Any): Int
    Definition Classes
      ClassWriter
24.  def newConstantDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <repeated...>[AnyRef]): Int
    Definition Classes
      ClassWriter
    Annotations
      @transient()
25.  def newField(owner: String, name: String, descriptor: String): Int
    Definition Classes
      ClassWriter
26.  def newHandle(tag: Int, owner: String, name: String, descriptor: String, isInterface: Boolean): Int
    Definition Classes
      ClassWriter
27.  def newInvokeDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <repeated...>[AnyRef]): Int
    Definition Classes
      ClassWriter
    Annotations
      @transient()
28.  def newMethod(owner: String, name: String, descriptor: String, isInterface: Boolean): Int
    Definition Classes
      ClassWriter
29.  def newMethodType(methodDescriptor: String): Int
    Definition Classes
      ClassWriter
30.  def newModule(moduleName: String): Int
    Definition Classes
      ClassWriter
31.  def newNameType(name: String, descriptor: String): Int
    Definition Classes
      ClassWriter
32.  def newPackage(packageName: String): Int
    Definition Classes
      ClassWriter
33.  def newUTF8(value: String): Int
    Definition Classes
      ClassWriter
34.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
35.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
36.  final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
      AnyRef
37.  def toByteArray(): Array[Byte]
    Definition Classes
      ClassWriter
38.  def toString(): String
    Definition Classes
      AnyRef → Any
39.  final def visit(version: Int, access: Int, name: String, signature: String, superName: String, interfaces: Array[String]): Unit
    Definition Classes
      ClassWriter → ClassVisitor
40.  final def visitAnnotation(descriptor: String, visible: Boolean): AnnotationVisitor
    Definition Classes
      ClassWriter → ClassVisitor
41.  final def visitAttribute(attribute: Attribute): Unit
    Definition Classes
      ClassWriter → ClassVisitor
42.  final def visitEnd(): Unit
    Definition Classes
      ClassWriter → ClassVisitor
43.  final def visitField(access: Int, name: String, descriptor: String, signature: String, value: Any): FieldVisitor
    Definition Classes
      ClassWriter → ClassVisitor
44.  final def visitInnerClass(name: String, outerName: String, innerName: String, access: Int): Unit
    Definition Classes
      ClassWriter → ClassVisitor
45.  final def visitMethod(access: Int, name: String, descriptor: String, signature: String, exceptions: Array[String]): MethodVisitor
    Definition Classes
      ClassWriter → ClassVisitor
46.  final def visitModule(name: String, access: Int, version: String): ModuleVisitor
    Definition Classes
      ClassWriter → ClassVisitor
47.  final def visitNestHost(nestHost: String): Unit
    Definition Classes
      ClassWriter → ClassVisitor
48.  final def visitNestMember(nestMember: String): Unit
    Definition Classes
      ClassWriter → ClassVisitor
49.  final def visitOuterClass(owner: String, name: String, descriptor: String): Unit
    Definition Classes
      ClassWriter → ClassVisitor
50.  final def visitPermittedSubclass(permittedSubclass: String): Unit
    Definition Classes
      ClassWriter → ClassVisitor
51.  final def visitRecordComponent(name: String, descriptor: String, signature: String): RecordComponentVisitor
    Definition Classes
      ClassWriter → ClassVisitor
52.  final def visitSource(file: String, debug: String): Unit
    Definition Classes
      ClassWriter → ClassVisitor
53.  final def visitTypeAnnotation(typeRef: Int, typePath: TypePath, descriptor: String, visible: Boolean): AnnotationVisitor
    Definition Classes
      ClassWriter → ClassVisitor
54.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
55.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... )
56.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws( ... ) @native()
57.  def →[B](y: B): (ClassWriterWithBTypeLub, B)
    Implicit
      This member is added by an implicit conversion from ClassWriterWithBTypeLub to ArrowAssoc[ClassWriterWithBTypeLub] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
      ArrowAssoc

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub to StringFormat[ClassWriterWithBTypeLub] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def newHandle(tag: Int, owner: String, name: String, descriptor: String): Int
   Definition Classes
     ClassWriter
   Annotations
     @Deprecated
   Deprecated

### Inherited from ClassWriter

### Inherited from ClassVisitor

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped