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 a
MethodDescription . |
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.
|
Constructor and Description |
---|
ForMethodExit(MethodDescription instrumentedMethod,
MethodDescription adviceMethod,
TypeDefinition exitType,
SortedMap<String,TypeDefinition> namedTypes,
TypeDefinition enterType,
StackSize throwableSize)
Creates a new argument handler for an exit advice method.
|
Modifier and Type | Method and Description |
---|---|
StackSize |
TypeDefinition.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.OfGenericArray.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.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.LazyProjection.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.ForLoadedType.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.SuperTypeLoading.getStackSize()
Returns the size of the type described by this instance.
|
Modifier and Type | Method and Description |
---|---|
StackSize |
StackSize.maximum(StackSize stackSize)
Determines the maximum of two stack size representations.
|
static StackSize |
StackSize.of(Class<?> type)
Finds the operand stack size of a given Java type.
|
static StackSize |
StackSize.of(int size)
Represents a numeric size as a
StackSize . |
static StackSize |
StackSize.valueOf(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.
|
Modifier and Type | Method and Description |
---|---|
StackSize |
StackSize.maximum(StackSize stackSize)
Determines the maximum of two stack size representations.
|
Modifier and Type | Method and Description |
---|---|
protected StackManipulation.Size |
FieldAccess.AccessDispatcher.FieldGetInstruction.resolveSize(StackSize fieldSize) |
protected StackManipulation.Size |
FieldAccess.AccessDispatcher.FieldPutInstruction.resolveSize(StackSize fieldSize) |
Modifier and Type | Method and Description |
---|---|
int |
StackAwareMethodVisitor.drainStack(int store,
int load,
StackSize size)
Drains the stack to only contain the top value.
|
Modifier and Type | Method and Description |
---|---|
void |
StackAwareMethodVisitor.register(Label label,
List<StackSize> stackSizes)
Explicitly registers a label to define a given stack state.
|
Copyright © 2014–2024. All rights reserved.