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. reading and writing of fields, invoking of methods, access of local variables
within a method invocation or returning values from method invocations. |
net.bytebuddy.utility.visitor |
A package containing visitor classes for ASM.
|
Modifier and Type | Method and Description |
---|---|
protected abstract StackSize |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.getPadding()
Returns the additional padding this exit advice implies.
|
protected StackSize |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithExceptionHandler.getPadding() |
protected StackSize |
Advice.Dispatcher.Inlining.Resolved.ForMethodExit.WithoutExceptionHandler.getPadding() |
Modifier and Type | Method and Description |
---|---|
StackSize |
TypeDescription.Generic.OfNonGenericType.getStackSize() |
StackSize |
TypeDescription.Generic.OfGenericArray.getStackSize() |
StackSize |
TypeDescription.Generic.OfWildcardType.getStackSize() |
StackSize |
TypeDescription.Generic.OfParameterizedType.getStackSize() |
StackSize |
TypeDescription.Generic.OfTypeVariable.getStackSize() |
StackSize |
TypeDescription.Generic.OfTypeVariable.Symbolic.getStackSize() |
StackSize |
TypeDescription.Generic.LazyProjection.getStackSize() |
StackSize |
TypeDescription.AbstractBase.OfSimpleType.getStackSize() |
StackSize |
TypeDescription.ForLoadedType.getStackSize() |
StackSize |
TypeDescription.ArrayProjection.getStackSize() |
StackSize |
TypeDescription.SuperTypeLoading.getStackSize() |
StackSize |
TypeDefinition.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–2017. All rights reserved.