Dotty Documentation

0.15.0-bin-SNAPSHOT

object AsmUtils
extends Object with Serializable

[-] Constructors

[-] Members

[+] final val traceClassEnabled : false

Print the bytecode of classes generated by GenBCode to the standard output.

[+] final val traceClassPattern : ""
[+] final val traceMethodEnabled : Boolean

Print the bytecode of methods generated by GenBCode to the standard output. Only methods whose name contains traceMethodPattern are traced.

[+] final val traceMethodPattern : String
[+] final val traceSerializedClassEnabled : false

Print the bytedcode of classes as they are serialized by the ASM library. The serialization performed by asm.ClassWriter can change the code generated by GenBCode. For example, it introduces stack map frames, it computes the maximal stack sizes, and it replaces dead code by NOPs (see also https://github.com/scala/scala/pull/3726#issuecomment-42861780).

[+] final val traceSerializedClassPattern : ""
[+] def instructionString ( instruction: AbstractInsnNode ) : String
[+] def readClass ( bytes: Array [ Byte ] ) : ClassNode
[+] def traceClass ( cnode: ClassNode ) : Unit
[+] def traceClass ( bytes: Array [ Byte ] ) : Unit
[+] def traceMethod ( mnode: MethodNode ) : Unit