Uses of Enum
net.bytebuddy.implementation.bytecode.StackSize
Packages that use StackSize
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
Contains descriptions of Java types and packages.
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
.Assigner
implementations of this package
are capable of handling primitive types or the void
type.This package is dedicated to creating
StackManipulation
s
that create collections or arrays from a given number of values.StackManipulation
s of this package are responsible for
accessing type or method members, i.e.A package containing visitor classes for ASM.
-
Uses of StackSize in net.bytebuddy.asm
Fields in net.bytebuddy.asm declared as StackSizeModifier and TypeFieldDescriptionprivate final StackSize
Advice.ArgumentHandler.ForAdvice.Default.ForMethodExit.throwableSize
The stack size of a possibly stored throwable.Constructors in net.bytebuddy.asm with parameters of type StackSizeModifierConstructorDescriptionprotected
ForMethodExit
(MethodDescription instrumentedMethod, MethodDescription.TypeToken typeToken, TypeDefinition exitType, SortedMap<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 StackSizeModifier and TypeMethodDescriptionTypeDefinition.getStackSize()
Returns the size of the type described by this instance.TypeDescription.AbstractBase.OfSimpleType.getStackSize()
Returns the size of the type described by this instance.TypeDescription.ArrayProjection.getStackSize()
Returns the size of the type described by this instance.TypeDescription.ForLoadedType.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.LazyProjection.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfGenericArray.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfNonGenericType.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfParameterizedType.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfTypeVariable.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfTypeVariable.Symbolic.getStackSize()
Returns the size of the type described by this instance.TypeDescription.Generic.OfWildcardType.getStackSize()
Returns the size of the type described by this instance.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 StackSizeModifier and TypeFieldDescriptionprivate final StackSize
Addition.stackSize
The stack size of the added primitive.private final StackSize
Division.stackSize
The stack size of the divided primitive.private final StackSize
Duplication.WithFlip.stackSize
The size that is added to the operand stack.private final StackSize
Multiplication.stackSize
The stack size of the multiplied primitive.private final StackSize
Remainder.stackSize
The stack size of the remainder primitive.private final StackSize
ShiftLeft.stackSize
The stack size of the shift left primitive.private final StackSize
ShiftRight.stackSize
The stack size of the shift right primitive.private final StackSize
ShiftRight.Unsigned.stackSize
The stack size of the shift right unsigned primitive.private final StackSize
Subtraction.stackSize
The stack size of the subtracted primitive.Methods in net.bytebuddy.implementation.bytecode that return StackSizeModifier and TypeMethodDescriptionDetermines the maximum of two stack size representations.static StackSize
StackSize.of
(int size) Represents a numeric size as aStackSize
.static StackSize
Finds the operand stack size of a given Java type.static StackSize
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 StackSizeModifier and TypeMethodDescriptionDetermines the maximum of two stack size representations.Constructors in net.bytebuddy.implementation.bytecode with parameters of type StackSizeModifierConstructorDescriptionprivate
Creates a new addition.private
Creates a new division type.private
Duplication
(StackSize stackSize, int opcode) Creates a new duplication.private
Multiplication
(int opcode, StackSize stackSize) Creates a new multiplication type.private
Creates a new remainder type.private
Creates a new removal stack manipulation.private
Creates a new shift left.private
ShiftRight
(int opcode, StackSize stackSize, StackManipulation unsigned) Creates a new shift right.private
Subtraction
(int opcode, StackSize stackSize) Creates a new subtraction.private
Creates a new shift right unsigned.private
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 StackSizeModifierConstructorDescriptionprivate
PrimitiveBoxingDelegate
(Class<?> wrapperType, StackSize sizeDifference, String boxingMethodName, String boxingMethodDescriptor) Creates a new primitive boxing delegate.private
PrimitiveUnboxingDelegate
(Class<?> wrapperType, Class<?> primitiveType, StackSize sizeDifference, String unboxingMethodName, 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 StackSizeModifier and TypeFieldDescriptionprivate final StackSize
ArrayAccess.stackSize
The size of the array's component value.Constructors in net.bytebuddy.implementation.bytecode.collection with parameters of type StackSizeModifierConstructorDescriptionprivate
ArrayAccess
(int loadOpcode, int storeOpcode, StackSize stackSize) Creates a new array access. -
Uses of StackSize in net.bytebuddy.implementation.bytecode.member
Fields in net.bytebuddy.implementation.bytecode.member declared as StackSizeModifier and TypeFieldDescriptionprivate final StackSize
MethodVariableAccess.size
The size of the local variable on the JVM stack.private final StackSize
MethodReturn.stackSize
The operand stack size change that is implied by this operation.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type StackSizeModifier and TypeMethodDescriptionprotected 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 StackSizeModifierConstructorDescriptionprivate
FieldAccess
(int putterOpcode, int getterOpcode, StackSize targetSizeChange) Creates a new field access.private
MethodReturn
(int returnOpcode, StackSize stackSize) Creates a new method return manipulation.private
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 StackSizeModifier and TypeFieldDescriptionStackAwareMethodVisitor.current
A list of the current elements on the operand stack.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 StackSizeModifier and TypeMethodDescriptionint
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 StackSizeModifier and TypeMethodDescriptionprivate void
Drains all supplied elements of the operand stack.void
Explicitly registers a label to define a given stack state.