Uses of Enum Class
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
StackManipulations
that create collections or arrays from a given number of values.StackManipulations 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 StackSizeAdvice.ArgumentHandler.ForAdvice.Default.ForMethodExit.throwableSizeThe stack size of a possibly stored throwable.Constructors in net.bytebuddy.asm with parameters of type StackSizeModifierConstructorDescriptionprotectedForMethodExit(MethodDescription instrumentedMethod, MethodDescription adviceMethod, 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 StackSizeAddition.stackSizeThe stack size of the added primitive.private final StackSizeDivision.stackSizeThe stack size of the divided primitive.private final StackSizeDuplication.WithFlip.stackSizeThe size that is added to the operand stack.private final StackSizeMultiplication.stackSizeThe stack size of the multiplied primitive.private final StackSizeRemainder.stackSizeThe stack size of the remainder primitive.private final StackSizeShiftLeft.stackSizeThe stack size of the shift left primitive.private final StackSizeShiftRight.stackSizeThe stack size of the shift right primitive.private final StackSizeShiftRight.Unsigned.stackSizeThe stack size of the shift right unsigned primitive.private final StackSizeSubtraction.stackSizeThe 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 StackSizeStackSize.of(int size) Represents a numeric size as aStackSize.static StackSizeFinds the operand stack size of a given Java type.static StackSizeReturns the enum constant of this class with the specified name.static StackSize[]StackSize.values()Returns an array containing the constants of this enum class, 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 StackSizeModifierConstructorDescriptionprivateCreates a new addition.privateCreates a new division type.privateDuplication(StackSize stackSize, int opcode) Creates a new duplication.privateMultiplication(int opcode, StackSize stackSize) Creates a new multiplication type.privateCreates a new remainder type.privateCreates a new removal stack manipulation.privateCreates a new shift left.privateShiftRight(int opcode, StackSize stackSize, StackManipulation unsigned) Creates a new shift right.privateSubtraction(int opcode, StackSize stackSize) Creates a new subtraction.privateCreates a new shift right unsigned.privateCreates 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 StackSizeModifierConstructorDescriptionprivatePrimitiveBoxingDelegate(Class<?> wrapperType, StackSize sizeDifference, String boxingMethodName, String boxingMethodDescriptor) Creates a new primitive boxing delegate.privatePrimitiveUnboxingDelegate(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 StackSizeArrayAccess.stackSizeThe size of the array's component value.Constructors in net.bytebuddy.implementation.bytecode.collection with parameters of type StackSizeModifierConstructorDescriptionprivateArrayAccess(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 StackSizeMethodVariableAccess.sizeThe size of the local variable on the JVM stack.Methods in net.bytebuddy.implementation.bytecode.member with parameters of type StackSizeModifier and TypeMethodDescriptionprotected abstract StackManipulation.SizeFieldAccess.AccessDispatcher.AbstractFieldInstruction.resolveSize(StackSize fieldSize) Resolves the actual size of this field access operation.protected StackManipulation.SizeFieldAccess.AccessDispatcher.FieldGetInstruction.resolveSize(StackSize fieldSize) protected StackManipulation.SizeFieldAccess.AccessDispatcher.FieldPutInstruction.resolveSize(StackSize fieldSize) Constructors in net.bytebuddy.implementation.bytecode.member with parameters of type StackSizeModifierConstructorDescriptionprivateFieldAccess(int putterOpcode, int getterOpcode, StackSize targetSizeChange) Creates a new field access.privateMethodReturn(int returnOpcode, StackSize stackSize) Creates a new method return manipulation.privateMethodVariableAccess(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.currentA list of the current elements on the operand stack.StackAwareMethodVisitor.sizesA 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 TypeMethodDescriptionintStackAwareMethodVisitor.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 voidDrains all supplied elements of the operand stack.voidExplicitly registers a label to define a given stack state.