Scala Compiler 2.13.16 - scala.tools.nsc.backend.jvm.PostProcessor.ClassWriterWithBTypeLub
Keywords: Scala Compiler 2.13.16 scala.tools.nsc.backend.jvm.PostProcessor.ClassWriterWithBTypeLub

Scala Compiler2.13.16 < 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
Type Hierarchy

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. Protected

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

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub toStringFormat[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
3.  def →[B](y: B): (ClassWriterWithBTypeLub, B)
   Implicit
     This member is added by an implicit conversion from ClassWriterWithBTypeLub toArrowAssoc[ClassWriterWithBTypeLub] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from ClassWriter

### Inherited from ClassVisitor

### Inherited from AnyRef

### Inherited from Any

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

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

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

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

### Ungrouped