insn.util

Bytecode and ASM utilities.

*labels*

dynamic

The auto-generated labels of the method being emitted.

*super*

dynamic

The internal superclass name of the class being generated.

*this*

dynamic

The internal class name of the class being generated.

array-type

(array-type x)
Return an ASM array type operand opcode flag.

AsmType

protocol

members

type

(type x)
Return an ASM Type object.

ClassDesc

protocol

members

class-desc

(class-desc x)
Return an internal package-prefixed class name string.

constant-dynamic

(constant-dynamic cname ftype boot)(constant-dynamic cname ftype boot args)
Return an ASM ConstantDynamic object. Note that using these values
require version 11 bytecode and above.

flags

(flags x)
Return opcode bit flags for asm class, method, or field.

handle

(handle tag owner mname desc-or-type)
Return an ASM Handle object for a field or method.

label

(label)
Return a new asm label. Note that labels are mutable values.

LabelArray

protocol

members

label-array

(label-array x)
Return a typed array of ASM Labels.

labels

(labels)(labels n)
Returns a sequence of `n` (or infinite) new asm labels.

method-desc

(method-desc xs)
Return internal method descriptor string.

method-name

(method-name x)
Return a method name string.

method-type

(method-type xs)
Return an ASM Type object denoting a method.

sort

(sort x)
Return the ASM sort number of the given type.

special-desc

(special-desc x)
Return internal type string for the 'anewarray', 'checkcast',
'instanceof', or 'new' instructions.

TypeDesc

protocol

members

type-desc

(type-desc x)
Return an internal type string.

TypeSig

protocol

members

type-sig

(type-sig x)
Return an internal type signature string.