CClassWriter

dotty.tools.backend.jvm.BCodeHelpers.CClassWriter
final class CClassWriter(flags: Int) extends ClassWriter

Attributes

Graph
Supertypes
class ClassWriter
class ClassVisitor
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def getCommonSuperClass(inameA: String, inameB: String): String

This method is thread-safe: it depends only on the BTypes component, which does not depend on global. TODO @lry move to a different place where no global is in scope, on bTypes.

This method is thread-safe: it depends only on the BTypes component, which does not depend on global. TODO @lry move to a different place where no global is in scope, on bTypes.

Attributes

Definition Classes
ClassWriter

Inherited methods

def hasFlags(flags: Int): Boolean

Attributes

Inherited from:
ClassWriter
def newClass(value: String): Int

Attributes

Inherited from:
ClassWriter
def newConst(value: <FromJavaObject>): Int

Attributes

Inherited from:
ClassWriter
def newConstantDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <FromJavaObject>*): Int

Attributes

Inherited from:
ClassWriter
def newField(owner: String, name: String, descriptor: String): Int

Attributes

Inherited from:
ClassWriter
def newHandle(tag: Int, owner: String, name: String, descriptor: String, isInterface: Boolean): Int

Attributes

Inherited from:
ClassWriter
def newInvokeDynamic(name: String, descriptor: String, bootstrapMethodHandle: Handle, bootstrapMethodArguments: <FromJavaObject>*): Int

Attributes

Inherited from:
ClassWriter
def newMethod(owner: String, name: String, descriptor: String, isInterface: Boolean): Int

Attributes

Inherited from:
ClassWriter
def newMethodType(methodDescriptor: String): Int

Attributes

Inherited from:
ClassWriter
def newModule(moduleName: String): Int

Attributes

Inherited from:
ClassWriter
def newNameType(name: String, descriptor: String): Int

Attributes

Inherited from:
ClassWriter
def newPackage(packageName: String): Int

Attributes

Inherited from:
ClassWriter
def newUTF8(value: String): Int

Attributes

Inherited from:
ClassWriter
def toByteArray(): Array[Byte]

Attributes

Inherited from:
ClassWriter
final def visit(version: Int, access: Int, name: String, signature: String, superName: String, interfaces: Array[String]): Unit

Attributes

Inherited from:
ClassWriter
final def visitAnnotation(descriptor: String, visible: Boolean): AnnotationVisitor

Attributes

Inherited from:
ClassWriter
final def visitAttribute(attribute: Attribute): Unit

Attributes

Inherited from:
ClassWriter
final def visitEnd(): Unit

Attributes

Inherited from:
ClassWriter
final def visitField(access: Int, name: String, descriptor: String, signature: String, value: <FromJavaObject>): FieldVisitor

Attributes

Inherited from:
ClassWriter
final def visitInnerClass(name: String, outerName: String, innerName: String, access: Int): Unit

Attributes

Inherited from:
ClassWriter
final def visitMethod(access: Int, name: String, descriptor: String, signature: String, exceptions: Array[String]): MethodVisitor

Attributes

Inherited from:
ClassWriter
final def visitModule(name: String, access: Int, version: String): ModuleVisitor

Attributes

Inherited from:
ClassWriter
final def visitNestHost(nestHost: String): Unit

Attributes

Inherited from:
ClassWriter
final def visitNestMember(nestMember: String): Unit

Attributes

Inherited from:
ClassWriter
final def visitOuterClass(owner: String, name: String, descriptor: String): Unit

Attributes

Inherited from:
ClassWriter
final def visitPermittedSubclass(permittedSubclass: String): Unit

Attributes

Inherited from:
ClassWriter
final def visitRecordComponent(name: String, descriptor: String, signature: String): RecordComponentVisitor

Attributes

Inherited from:
ClassWriter
final def visitSource(file: String, debug: String): Unit

Attributes

Inherited from:
ClassWriter
final def visitTypeAnnotation(typeRef: Int, typePath: TypePath, descriptor: String, visible: Boolean): AnnotationVisitor

Attributes

Inherited from:
ClassWriter

Deprecated and Inherited methods

@Deprecated
def newHandle(tag: Int, owner: String, name: String, descriptor: String): Int

Attributes

Deprecated
true
Inherited from:
ClassWriter