Package net.bytebuddy.implementation.bytecode
Types and classes in this package are responsible for creating Java byte code for a given byte code target
which is represented by a
MethodDescription.-
Interface Summary Interface Description ByteCodeAppender An appender that generates the byte code for a given method.StackManipulation Describes a manipulation of a method's operand stack that does not affect the frame's variable array.StackManipulation.Simple.Dispatcher A dispatcher for an instance ofStackManipulation.Simple. -
Class Summary Class Description ByteCodeAppender.Compound A compound appender that combines a given number of other byte code appenders.ByteCodeAppender.Simple A simple byte code appender that only represents a given array ofStackManipulations.ByteCodeAppender.Size An immutable description of both the operand stack size and the size of the local variable array that is required to run the code generated by thisByteCodeAppender.StackManipulation.AbstractBase An abstract base implementation of a valid stack manipulation.StackManipulation.Compound An immutable stack manipulation that aggregates a sequence of other stack manipulations.StackManipulation.Simple An implementation ofStackManipulationthat simplifies functional invocations via lambda expressions.StackManipulation.Size A description of the size change that is imposed by someStackManipulation.TypeCreation A stack manipulation for creating an undefined type on which a constructor is to be called. -
Enum Summary Enum Description Addition A stack manipulation that adds two numbers on the operand stack.Division A stack manipulation that divides two numbers on the operand stack.Duplication Duplicates a value that is lying on top of the stack.Duplication.WithFlip A duplication that flips a value over the second value on the operand stack.Multiplication A stack manipulation that multiplies two numbers on the operand stack.Negation A stack manipulation that negates a number on the operand stack.Remainder A stack manipulation that computes the remainder two numbers on the operand stack.Removal Removes a value from the operand stack.ShiftLeft A stack manipulation that shifts left two numbers on the operand stack.ShiftRight A stack manipulation that shifts right two numbers on the operand stack.ShiftRight.Unsigned A stack manipulation that shifts right unsigned two numbers on the operand stack.StackManipulation.Illegal Canonical representation of an illegal stack manipulation.StackManipulation.Trivial Canonical representation of a legal stack manipulation which does not require any action.StackSize Represents the size of a Java type on the operand stack.Subtraction A stack manipulation that subtracts two numbers on the operand stack.Throw Throws aThrowablewhich must lie on top of the stack when this stack manipulation is called.