Java org.objectweb.asm.commons GeneratorAdapter fields, constructors, methods, implement or subclass

Example usage for Java org.objectweb.asm.commons GeneratorAdapter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.objectweb.asm.commons GeneratorAdapter.

The text is from its open source code.

Subclass

org.objectweb.asm.commons.GeneratorAdapter has subclasses.
Click this link to see all its subclasses.

Field

intADD
Constant for the #math method.
intSUB
Constant for the #math method.
intMUL
Constant for the #math method.
intDIV
Constant for the #math method.
intREM
Constant for the #math method.
intNEG
Constant for the #math method.
intSHL
Constant for the #math method.
intSHR
Constant for the #math method.
intUSHR
Constant for the #math method.
intAND
Constant for the #math method.
intOR
Constant for the #math method.
intXOR
Constant for the #math method.
intEQ
Constant for the #ifCmp method.
intNE
Constant for the #ifCmp method.
intLT
Constant for the #ifCmp method.
intGE
Constant for the #ifCmp method.
intGT
Constant for the #ifCmp method.
intLE
Constant for the #ifCmp method.

Constructor

Method

voidarrayLength()
Generates the instruction to compute the length of an array.
voidarrayLoad(final Type type)
Generates the instruction to load an element from an array.
voidarrayStore(final Type type)
Generates the instruction to store an element in an array.
voidbox(final Type type)
Generates the instructions to box the top stack value.
voidcast(final Type from, final Type to)
Generates the instructions to cast a numerical value from one type to another.
voidcatchException(final Label start, final Label end, final Type exception)
Marks the start of an exception handler.
voidcheckCast(final Type type)
Generates the instruction to check that the top stack value is of the given type.
voiddup()
Generates a DUP instruction.
voiddup2()
Generates a DUP2 instruction.
voidendMethod()
Marks the end of the visited method.
Type[]getArgumentTypes()
voidgetField(final Type owner, final String name, final Type type)
Generates the instruction to push the value of a non static field on the stack.
TypegetReturnType()
voidgetStatic(final Type owner, final String name, final Type type)
Generates the instruction to push the value of a static field on the stack.
voidgoTo(final Label label)
Generates the instruction to jump to the given label.
voidifCmp(final Type type, final int mode, final Label label)
Generates the instructions to jump to a label based on the comparison of the top two stack values.
voidifICmp(final int mode, final Label label)
Generates the instructions to jump to a label based on the comparison of the top two integer stack values.
voidifNonNull(final Label label)
Generates the instruction to jump to the given label if the top stack value is not null.
voidifNull(final Label label)
Generates the instruction to jump to the given label if the top stack value is null.
voidifZCmp(final int mode, final Label label)
Generates the instructions to jump to a label based on the comparison of the top integer stack value with zero.
voidiinc(final int local, final int amount)
Generates the instruction to increment the given local variable.
voidinvokeConstructor(final Type type, final Method method)
Generates the instruction to invoke a constructor.
voidinvokeDynamic(final String name, final String descriptor, final Handle bootstrapMethodHandle, final Object... bootstrapMethodArguments)
Generates an invokedynamic instruction.
voidinvokeInterface(final Type owner, final Method method)
Generates the instruction to invoke an interface method.
voidinvokeStatic(final Type owner, final Method method)
Generates the instruction to invoke a static method.
voidinvokeVirtual(final Type owner, final Method method)
Generates the instruction to invoke a normal method.
voidloadArg(final int arg)
Generates the instruction to load the given method argument on the stack.
voidloadArgArray()
Generates the instructions to load all the method arguments on the stack, as a single object array.
voidloadArgs()
Generates the instructions to load all the method arguments on the stack.
voidloadArgs(final int arg, final int count)
Generates the instructions to load the given method arguments on the stack.
voidloadLocal(final int local)
Generates the instruction to load the given local variable on the stack.
voidloadLocal(final int local, final Type type)
Generates the instruction to load the given local variable on the stack.
voidloadThis()
Generates the instruction to load 'this' on the stack.
voidmark(final Label label)
Marks the current code position with the given label.
Labelmark()
Marks the current code position with a new label.
voidmath(final int op, final Type type)
Generates the instruction to do the specified mathematical or logical operation.
voidnewArray(final Type type)
Generates the instruction to create a new array.
voidnewInstance(final Type type)
Generates the instruction to create a new object.
LabelnewLabel()
Constructs a new Label .
voidpop()
Generates a POP instruction.
voidpop2()
Generates a POP2 instruction.
voidpush(final boolean value)
Generates the instruction to push the given value on the stack.
voidpush(final int value)
Generates the instruction to push the given value on the stack.
voidpush(final long value)
Generates the instruction to push the given value on the stack.
voidpush(final float value)
Generates the instruction to push the given value on the stack.
voidpush(final double value)
Generates the instruction to push the given value on the stack.
voidpush(final String value)
Generates the instruction to push the given value on the stack.
voidpush(final Type value)
Generates the instruction to push the given value on the stack.
voidpush(final Handle handle)
Generates the instruction to push a handle on the stack.
voidpush(final ConstantDynamic constantDynamic)
Generates the instruction to push a constant dynamic on the stack.
voidputField(final Type owner, final String name, final Type type)
Generates the instruction to store the top stack value in a non static field.
voidputStatic(final Type owner, final String name, final Type type)
Generates the instruction to store the top stack value in a static field.
voidreturnValue()
Generates the instruction to return the top stack value to the caller.
voidstoreLocal(final int local)
Generates the instruction to store the top stack value in the given local variable.
voidstoreLocal(final int local, final Type type)
Generates the instruction to store the top stack value in the given local variable.
voidswap()
Generates a SWAP instruction.
voidswap(final Type prev, final Type type)
Generates the instructions to swap the top two stack values.
voidthrowException(final Type type, final String message)
Generates the instructions to create and throw an exception.
voidthrowException()
Generates the instruction to throw an exception.
voidunbox(final Type type)
Generates the instructions to unbox the top stack value.
voidvalueOf(final Type type)
Generates the instructions to box the top stack value using Java 5's valueOf() method.