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.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
Advice.DynamicValue.ForFixedValue.OfConstant.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
protected Object |
Advice.DynamicValue.ForFixedValue.OfAnnotationProperty.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
protected abstract Object |
Advice.DynamicValue.ForFixedValue.doResolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<S> annotation,
Assigner assigner,
boolean initialized)
Resolves a constant value that is mapped to a parameter that is annotated with a custom bound annotation.
|
StackManipulation |
Advice.DynamicValue.ForFieldValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForParameterValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForSerializedValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Annotation> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.ForFixedValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<S> annotation,
Assigner assigner,
boolean initialized) |
StackManipulation |
Advice.DynamicValue.resolve(TypeDescription instrumentedType,
MethodDescription instrumentedMethod,
ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Assigner assigner,
boolean initialized)
Resolves a constant value that is mapped to a parameter that is annotated with a custom bound annotation:
A primitive wrapper value allow binding of the primitive which is optionally boxed but never unboxed.
|
Constructor and Description |
---|
ForUserValue(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.DynamicValue<T> dynamicValue)
Creates a new offset mapping for a user-defined value.
|
WithExplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
TypeDescription declaringType)
Creates an offset mapping for a field with an explicit declaring type.
|
WithImplicitType(TypeDescription.Generic target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation)
Creates an offset mapping for a field with an implicit declaring type.
|
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationDescription.AbstractBase.ForPrepared<S extends Annotation>
An abstract implementation of a loadable annotation description.
|
static class |
AnnotationDescription.ForLoadedAnnotation<S extends Annotation>
A description of an already loaded annotation.
|
protected class |
AnnotationDescription.Latent.Loadable<S extends Annotation>
A loadable annotation description of a latent annotation description.
|
Modifier and Type | Field and Description |
---|---|
static AnnotationDescription.Loadable<?> |
AnnotationDescription.UNDEFINED
Indicates an inexistent annotation in a type-safe manner.
|
Modifier and Type | Method and Description |
---|---|
static <U extends Annotation> |
AnnotationDescription.ForLoadedAnnotation.of(U annotation)
Creates a description of the given annotation.
|
<T extends Annotation> |
AnnotationList.ofType(Class<T> annotationType)
Finds the first annotation of the given type and returns it.
|
<T extends Annotation> |
AnnotationList.AbstractBase.ofType(Class<T> annotationType) |
<T extends Annotation> |
AnnotationList.Empty.ofType(Class<T> annotationType) |
<T extends Annotation> |
AnnotationDescription.prepare(Class<T> annotationType)
Links this annotation description to a given annotation type such that it can be loaded.
|
<T extends Annotation> |
AnnotationDescription.ForLoadedAnnotation.prepare(Class<T> annotationType) |
<T extends Annotation> |
AnnotationDescription.Latent.Loadable.prepare(Class<T> annotationType) |
Constructor and Description |
---|
Bound(TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder,
AnnotationDescription.Loadable<T> annotation)
Creates a new bound handler.
|
Copyright © 2014–2016. All rights reserved.