cadenza / org.intelligence.asm / org.objectweb.asm.tree.ClassNode

Extensions for org.objectweb.asm.tree.ClassNode

assemble

val ClassNode.assemble: ByteArray

constructor

fun ClassNode.constructor(access: Mod, vararg parameterTypes: Type, f: MethodNode.() -> Unit): MethodNode

field

fun ClassNode.field(access: Mod, type: Type, name: String, signature: String? = null, value: Any? = null): FieldNode

method

fun ClassNode.method(access: Mod, returnType: Type, name: String, vararg parameterTypes: Type, f: MethodNode.() -> Unit): MethodNode

type

val ClassNode.type: Type