Uses of Class
net.bytebuddy.implementation.bytecode.StackSize
-
Packages that use StackSize Package Description net.bytebuddy.asm The ASM package contains classes that are meant for direct interaction with the ASM API.net.bytebuddy.description.type Contains descriptions of Java types and packages.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 aMethodDescription
.net.bytebuddy.implementation.bytecode.assign.primitive Assigner
implementations of this package are capable of handling primitive types or thevoid
type.net.bytebuddy.implementation.bytecode.collection This package is dedicated to creatingStackManipulation
s that create collections or arrays from a given number of values.net.bytebuddy.implementation.bytecode.constant StackManipulation
s in this package are responsible for creating compile-time constants and pushing them onto the operand stack.net.bytebuddy.implementation.bytecode.member StackManipulation
s of this package are responsible for accessing type or method members, i.e.net.bytebuddy.utility.visitor A package containing visitor classes for ASM. -
-
Uses of StackSize in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as StackSize Modifier and Type Field Description private StackSize
Advice.ArgumentHandler.ForAdvice.Default.ForMethodExit. throwableSize
The stack size of a possibly stored throwable.Constructors in net.bytebuddy.asm with parameters of type StackSize Constructor Description ForMethodExit(MethodDescription instrumentedMethod, MethodDescription adviceMethod, TypeDefinition exitType, java.util.TreeMap<java.lang.String,TypeDefinition> namedTypes, TypeDefinition enterType, StackSize throwableSize)
Creates a new argument handler for an exit advice method. -
Uses of StackSize in net.bytebuddy.description.type
Methods in net.bytebuddy.description.type that return StackSize Modifier and Type Method Description StackSize
TypeDefinition. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.AbstractBase.OfSimpleType. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.ArrayProjection. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.ForLoadedType. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.LazyProjection. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfGenericArray. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfNonGenericType. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfParameterizedType. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfTypeVariable. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfTypeVariable.Symbolic. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.Generic.OfWildcardType. getStackSize()
Returns the size of the type described by this instance.StackSize
TypeDescription.SuperTypeLoading. getStackSize()
Returns the size of the type described by this instance. -
Uses of StackSize in net.bytebuddy.implementation.bytecode
Fields in net.bytebuddy.implementation.bytecode declared as StackSize Modifier and Type Field Description private StackSize
Addition. stackSize
The stack size of the added primitive.private StackSize
Duplication.WithFlip. stackSize
The size that is added to the operand stack.private StackSize
Multiplication. stackSize
The stack size of the multiplied primitive.Methods in net.bytebuddy.implementation.bytecode that return StackSize Modifier and Type Method Description StackSize
StackSize. maximum(StackSize stackSize)
Determines the maximum of two stack size representations.static StackSize
StackSize. of(int size)
Represents a numeric size as aStackSize
.static StackSize
StackSize. of(java.lang.Class<?> type)
Finds the operand stack size of a given Java type.static StackSize
StackSize. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StackSize[]
StackSize. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.bytebuddy.implementation.bytecode with parameters of type StackSize Modifier and Type Method Description StackSize
StackSize. maximum(StackSize stackSize)
Determines the maximum of two stack size representations.Constructors in net.bytebuddy.implementation.bytecode with parameters of type StackSize Constructor Description Addition(int opcode, StackSize stackSize)
Creates a new addition.Duplication(StackSize stackSize, int opcode)
Creates a new duplication.Multiplication(int opcode, StackSize stackSize)
Creates a new multiplication type.Removal(StackSize stackSize, int opcode)
Creates a new removal stack manipulation.WithFlip(int opcode, StackSize stackSize)
Creates a flip duplication. -
Uses of StackSize in net.bytebuddy.implementation.bytecode.assign.primitive
Constructors in net.bytebuddy.implementation.bytecode.assign.primitive with parameters of type StackSize Constructor Description PrimitiveBoxingDelegate(java.lang.Class<?> wrapperType, StackSize sizeDifference, java.lang.String boxingMethodName, java.lang.String boxingMethodDescriptor)
Creates a new primitive boxing delegate.PrimitiveUnboxingDelegate(java.lang.Class<?> wrapperType, java.lang.Class<?> primitiveType, StackSize sizeDifference, java.lang.String unboxingMethodName, java.lang.String unboxingMethodDescriptor)
Creates a new primitive unboxing delegate. -
Uses of StackSize in net.bytebuddy.implementation.bytecode.collection
Fields in net.bytebuddy.implementation.bytecode.collection declared as StackSize Modifier and Type Field Description private StackSize
ArrayAccess. stackSize
The size of the array's component value.Constructors in net.bytebuddy.implementation.bytecode.collection with parameters of type StackSize Constructor Description ArrayAccess(int loadOpcode, int storeOpcode, StackSize stackSize)
Creates a new array access. -
Uses of StackSize in net.bytebuddy.implementation.bytecode.constant
Constructors in net.bytebuddy.implementation.bytecode.constant with parameters of type StackSize Constructor Description NullConstant(StackSize size)
Creates a null constant. -
Uses of StackSize in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as StackSize Modifier and Type Field Description private StackSize
MethodVariableAccess. size
The size of the local variable on the JVM stack.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type StackSize Modifier and Type Method Description protected abstract StackManipulation.Size
FieldAccess.AccessDispatcher.AbstractFieldInstruction. resolveSize(StackSize fieldSize)
Resolves the actual size of this field access operation.protected StackManipulation.Size
FieldAccess.AccessDispatcher.FieldGetInstruction. resolveSize(StackSize fieldSize)
protected StackManipulation.Size
FieldAccess.AccessDispatcher.FieldPutInstruction. resolveSize(StackSize fieldSize)
Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type StackSize Constructor Description FieldAccess(int putterOpcode, int getterOpcode, StackSize targetSizeChange)
Creates a new field access.MethodReturn(int returnOpcode, StackSize stackSize)
Creates a new method return manipulation.MethodVariableAccess(int loadOpcode, int storeOpcode, StackSize stackSize)
Creates a new method variable access for a given JVM type. -
Uses of StackSize in net.bytebuddy.utility.visitor
Fields in net.bytebuddy.utility.visitor with type parameters of type StackSize Modifier and Type Field Description private java.util.List<StackSize>
StackAwareMethodVisitor. current
A list of the current elements on the operand stack.private java.util.Map<org.objectweb.asm.Label,java.util.List<StackSize>>
StackAwareMethodVisitor. sizes
A mapping of labels to the operand stack size that is expected at this label.Methods in net.bytebuddy.utility.visitor with parameters of type StackSize Modifier and Type Method Description int
StackAwareMethodVisitor. drainStack(int store, int load, StackSize size)
Drains the stack to only contain the top value.Method parameters in net.bytebuddy.utility.visitor with type arguments of type StackSize Modifier and Type Method Description private void
StackAwareMethodVisitor. doDrain(java.util.List<StackSize> stackSizes)
Drains all supplied elements of the operand stack.void
StackAwareMethodVisitor. register(org.objectweb.asm.Label label, java.util.List<StackSize> stackSizes)
Explicitly registers a label to define a given stack state.
-