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
- Alphabetic
- By Inheritance
- ClassWriterWithBTypeLub
- ClassWriter
- ClassVisitor
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ClassWriterWithBTypeLub(flags: Int)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
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
-
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()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
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
-
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
-
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
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getClassLoader(): ClassLoader
- Attributes
- protected[asm]
- Definition Classes
- ClassWriter
-
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
-
def
getDelegate(): ClassVisitor
- Definition Classes
- ClassVisitor
-
def
hasFlags(flags: Int): Boolean
- Definition Classes
- ClassWriter
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newClass(value: String): Int
- Definition Classes
- ClassWriter
-
def
newConst(value: Any): Int
- Definition Classes
- ClassWriter
-
def
newConstantDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <repeated...>[AnyRef]): Int
- Definition Classes
- ClassWriter
- Annotations
- @transient()
-
def
newField(owner: String, name: String, descriptor: String): Int
- Definition Classes
- ClassWriter
-
def
newHandle(tag: Int, owner: String, name: String, descriptor: String, isInterface: Boolean): Int
- Definition Classes
- ClassWriter
-
def
newInvokeDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <repeated...>[AnyRef]): Int
- Definition Classes
- ClassWriter
- Annotations
- @transient()
-
def
newMethod(owner: String, name: String, descriptor: String, isInterface: Boolean): Int
- Definition Classes
- ClassWriter
-
def
newMethodType(methodDescriptor: String): Int
- Definition Classes
- ClassWriter
-
def
newModule(moduleName: String): Int
- Definition Classes
- ClassWriter
-
def
newNameType(name: String, descriptor: String): Int
- Definition Classes
- ClassWriter
-
def
newPackage(packageName: String): Int
- Definition Classes
- ClassWriter
-
def
newUTF8(value: String): Int
- Definition Classes
- ClassWriter
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toByteArray(): Array[Byte]
- Definition Classes
- ClassWriter
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
visit(version: Int, access: Int, name: String, signature: String, superName: String, interfaces: Array[String]): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitAnnotation(descriptor: String, visible: Boolean): AnnotationVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitAttribute(attribute: Attribute): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitEnd(): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitField(access: Int, name: String, descriptor: String, signature: String, value: Any): FieldVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitInnerClass(name: String, outerName: String, innerName: String, access: Int): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitMethod(access: Int, name: String, descriptor: String, signature: String, exceptions: Array[String]): MethodVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitModule(name: String, access: Int, version: String): ModuleVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitNestHost(nestHost: String): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitNestMember(nestMember: String): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitOuterClass(owner: String, name: String, descriptor: String): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitPermittedSubclass(permittedSubclass: String): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitRecordComponent(name: String, descriptor: String, signature: String): RecordComponentVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitSource(file: String, debug: String): Unit
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
visitTypeAnnotation(typeRef: Int, typePath: TypePath, descriptor: String, visible: Boolean): AnnotationVisitor
- Definition Classes
- ClassWriter → ClassVisitor
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
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
-
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 ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
-
def
newHandle(tag: Int, owner: String, name: String, descriptor: String): Int
- Definition Classes
- ClassWriter
- Annotations
- @Deprecated
- Deprecated
The Scala compiler and reflection APIs.