- <init>
- createArrayDefinition
pushes an array of the specified size to the method visitor. The generated
bytecode will leave the n
- createProxy
- generateProxy
- getAsmTypeAsString
Converts a class to a String suitable for ASM.
- getCastType
Gets the string to use for CHECKCAST instruction, returning the correct value
for any type, includin
- getMethodSignatureAsString
- getPrimitiveLetter
Returns the single letter that matches the given primitive in bytecode
instructions
- getPrimitiveMethod
Returns the name of the Java method to call to get the primitive value from an
Object - e.g. intValu
- getReturnInsn
Gets the appropriate bytecode instruction for RETURN, according to what type we
need to return
- getVarInsn
Returns the appropriate bytecode instruction to load a value from a variable to
the stack
- getWrapperType
Returns the wrapper type for a primitive, e.g. java.lang.Integer for int