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. -
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 ofStackManipulation
s.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.Compound An immutable stack manipulation that aggregates a sequence of other stack manipulations.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 to 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.Removal Removes a value from 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.Throw Throws aThrowable
which must lie on top of the stack when this stack manipulation is called.