| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static void | |
| public static int | loadArgument(MethodVisitor mv, Class<?> parameterType, int slot)
Loads a local argument onto the Java stack and returns the size of the argument. |
| public static void | packArguments(MethodVisitor mv, Class<?>[] parameterTypes)
Packs local arguments into an argument array on the Java stack. |
| public static void | pushInteger(MethodVisitor mv, int value)
Pushes an integer onto the stack, choosing the most efficient opcode. |
| public static void | |
| public static void | unpackArguments(MethodVisitor mv, Class<?>[] parameterTypes)
Unpacks an array of arguments and pushes them onto the Java stack. |
| BytecodeTasks | back to summary |
|---|---|
| private BytecodeTasks() | |
| box | back to summary |
|---|---|
| public static void box(MethodVisitor mv, Type primitiveType) Boxes a primitive value on the Java stack. | |
| loadArgument | back to summary |
|---|---|
| public static int loadArgument(MethodVisitor mv, Class<?> parameterType, int slot) Loads a local argument onto the Java stack and returns the size of the argument. | |
| packArguments | back to summary |
|---|---|
| public static void packArguments(MethodVisitor mv, Class<?>[] parameterTypes) Packs local arguments into an argument array on the Java stack. | |
| pushInteger | back to summary |
|---|---|
| public static void pushInteger(MethodVisitor mv, int value) Pushes an integer onto the stack, choosing the most efficient opcode. | |
| unbox | back to summary |
|---|---|
| public static void unbox(MethodVisitor mv, Type primitiveType) Unboxes a boxed value on the Java stack. | |
| unpackArguments | back to summary |
|---|---|
| public static void unpackArguments(MethodVisitor mv, Class<?>[] parameterTypes) Unpacks an array of arguments and pushes them onto the Java stack. | |