Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.description.annotation |
Contains descriptions of annotations and annotation values.
|
net.bytebuddy.description.type |
Contains descriptions of Java types and packages.
|
net.bytebuddy.dynamic.scaffold |
This package contains helper types and implementations that are responsible for the actual writing of a byte array
representing a Java class.
|
net.bytebuddy.implementation.bytecode.member |
StackManipulation s of this package are responsible for
accessing type or method members, i.e. |
net.bytebuddy.pool |
Classes of this package allow for the creating
TypeDescription s without
loading any classes. |
net.bytebuddy.utility |
This package contains utility classes for common use within any Byte Buddy logic.
|
Modifier and Type | Field and Description |
---|---|
protected TypeList |
Advice.StackMapFrameHandler.Default.requiredTypes
A list of intermediate types to be considered as part of the instrumented method's steady signature.
|
protected TypeList |
Advice.StackMapFrameHandler.Default.ForAdvice.requiredTypes
A list of intermediate types to be considered as part of the instrumented method's steady signature.
|
protected TypeList |
Advice.StackMapFrameHandler.Default.yieldedTypes
The types that are expected to be added after the instrumented method returns.
|
Modifier and Type | Method and Description |
---|---|
protected void |
Advice.StackMapFrameHandler.Default.translateFrame(org.objectweb.asm.MethodVisitor methodVisitor,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode,
MethodDescription methodDescription,
TypeList additionalTypes,
int type,
int localVariableLength,
Object[] localVariable,
int stackSize,
Object[] stack)
Translates a frame.
|
Constructor and Description |
---|
Default(MethodDescription instrumentedMethod,
TypeList requiredTypes,
TypeList yieldedTypes)
Creates a new default meta data handler that recomputes the space requirements of an instrumented method.
|
Default(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
TypeList requiredTypes,
TypeList yieldedTypes,
boolean expandFrames)
Creates a new default meta data handler.
|
ForAdvice(MethodDescription.InDefinedShape adviceMethod,
TypeList requiredTypes,
TypeList yieldedTypes)
Creates a new method size handler for an advice method.
|
ForAdvice(MethodDescription.InDefinedShape adviceMethod,
TypeList requiredTypes,
TypeList yieldedTypes,
Advice.StackMapFrameHandler.Default.TranslationMode translationMode)
Creates a new meta data handler for an advice method.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
AnnotationList.asTypeList()
Returns a list of the annotation types of this list.
|
TypeList |
AnnotationList.AbstractBase.asTypeList() |
TypeList |
AnnotationList.Empty.asTypeList() |
Modifier and Type | Class and Description |
---|---|
static class |
TypeList.AbstractBase
An abstract base implementation of a type list.
|
static class |
TypeList.Empty
An implementation of an empty type list.
|
static class |
TypeList.Explicit
A wrapper implementation of an explicit list of types.
|
static class |
TypeList.ForLoadedTypes
Implementation of a type list for an array of loaded types.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
TypeList.Generic.asErasures()
Returns a list of the generic types' erasures.
|
TypeList |
TypeList.Generic.AbstractBase.asErasures() |
TypeList |
TypeList.Generic.OfLoadedInterfaceTypes.asErasures() |
TypeList |
TypeList.Generic.OfConstructorExceptionTypes.asErasures() |
TypeList |
TypeList.Generic.OfMethodExceptionTypes.asErasures() |
TypeList |
TypeList.Generic.Empty.asErasures() |
TypeList |
TypeDescription.getDeclaredTypes()
Returns a list of types that are declared by this type excluding anonymous classes.
|
TypeList |
TypeDescription.AbstractBase.OfSimpleType.WithDelegation.getDeclaredTypes() |
TypeList |
TypeDescription.ForLoadedType.getDeclaredTypes() |
TypeList |
TypeDescription.ArrayProjection.getDeclaredTypes() |
TypeList |
TypeDescription.Latent.getDeclaredTypes() |
TypeList |
TypeDescription.ForPackageDescription.getDeclaredTypes() |
TypeList |
TypeDescription.SuperTypeLoading.getDeclaredTypes() |
protected TypeList |
TypeList.AbstractBase.wrap(List<TypeDescription> values) |
Modifier and Type | Method and Description |
---|---|
TypeList |
InstrumentedType.Default.getDeclaredTypes() |
TypeList |
InstrumentedType.Frozen.getDeclaredTypes() |
Constructor and Description |
---|
DynamicInvocation(String methodName,
TypeDescription returnType,
TypeList parameterTypes,
MethodDescription.InDefinedShape bootstrapMethod,
List<?> arguments)
Creates a new dynamic method invocation.
|
Modifier and Type | Method and Description |
---|---|
TypeList |
TypePool.Default.LazyTypeDescription.GenericTypeToken.Resolution.Raw.RawAnnotatedType.LazyRawAnnotatedTypeList.asErasures() |
TypeList |
TypePool.Default.LazyTypeDescription.getDeclaredTypes() |
Modifier and Type | Method and Description |
---|---|
TypeList |
JavaConstant.MethodType.getParameterTypes()
Returns the parameter types of this method type.
|
TypeList |
JavaConstant.MethodHandle.getParameterTypes()
Returns the parameter types represented by this instance.
|
Copyright © 2014–2018. All rights reserved.