Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
net.bytebuddy.build |
A package for types that allow for applying Byte Buddy transformation during a build process.
|
Modifier and Type | Class and Description |
---|---|
static class |
Advice.OffsetMapping.ForAllArguments
An offset mapping that maps an array containing all arguments of the instrumented method.
|
static class |
Advice.OffsetMapping.ForArgument
An offset mapping for a given parameter of the instrumented method.
|
static class |
Advice.OffsetMapping.ForArgument.Resolved
An offset mapping for a specific parameter of the instrumented method.
|
static class |
Advice.OffsetMapping.ForArgument.Unresolved
An offset mapping for a parameter of the instrumented method with a specific index.
|
static class |
Advice.OffsetMapping.ForEnterValue
An offset mapping that provides access to the value that is returned by the enter advice.
|
static class |
Advice.OffsetMapping.ForExitValue
An offset mapping that provides access to the value that is returned by the exit advice.
|
static class |
Advice.OffsetMapping.ForField
An offset mapping for a field.
|
static class |
Advice.OffsetMapping.ForField.Resolved
A binding for an offset mapping that represents a specific field.
|
static class |
Advice.OffsetMapping.ForField.Unresolved
An offset mapping for a field that is resolved from the instrumented type by its name.
|
static class |
Advice.OffsetMapping.ForField.Unresolved.WithExplicitType
An offset mapping for a field with an explicit declaring type.
|
static class |
Advice.OffsetMapping.ForField.Unresolved.WithImplicitType
An offset mapping for a field with an implicit declaring type.
|
static class |
Advice.OffsetMapping.ForInstrumentedMethod
Maps a constant representing the instrumented method.
|
static class |
Advice.OffsetMapping.ForInstrumentedType
Maps the declaring type of the instrumented method.
|
static class |
Advice.OffsetMapping.ForLocalValue
An offset mapping that provides access to a named local variable that is declared by the advice methods via
Advice.Local . |
static class |
Advice.OffsetMapping.ForOrigin
An offset mapping for the
Advice.Origin annotation. |
static class |
Advice.OffsetMapping.ForReturnValue
An offset mapping that provides access to the value that is returned by the instrumented method.
|
static class |
Advice.OffsetMapping.ForSerializedValue
An offset mapping that loads a serialized value.
|
static class |
Advice.OffsetMapping.ForStackManipulation
An offset mapping for binding a stack manipulation.
|
static class |
Advice.OffsetMapping.ForStubValue
An offset mapping for a parameter where assignments are fully ignored and that is assigned a boxed version of the instrumented
method's return value or
null if the return type is not primitive or void . |
static class |
Advice.OffsetMapping.ForThisReference
An offset mapping that provides access to the
this reference of the instrumented method. |
static class |
Advice.OffsetMapping.ForThrowable
An offset mapping for accessing a
Throwable of the instrumented method. |
static class |
Advice.OffsetMapping.ForUnusedValue
An offset mapping for a parameter where assignments are fully ignored and that always return the parameter type's default value.
|
Modifier and Type | Field and Description |
---|---|
protected Map<Integer,Advice.OffsetMapping> |
Advice.Dispatcher.Resolved.AbstractBase.offsetMappings
A mapping from offset to a mapping for this offset with retained iteration order of the method's parameters.
|
Modifier and Type | Method and Description |
---|---|
Advice.OffsetMapping |
Advice.OffsetMapping.ForAllArguments.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.AllArguments> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForArgument.Unresolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Argument> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForEnterValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Enter> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForExitValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Exit> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForField.Unresolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.FieldValue> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForLocalValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Local> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForOrigin.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Origin> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForReturnValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Return> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStubValue.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.StubValue> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForThisReference.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.This> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForThrowable.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Thrown> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForUnusedValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<Advice.Unused> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.Simple.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.Factory.Illegal.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForArgument.Resolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForField.Resolved.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.OfDefaultValue.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForStackManipulation.OfAnnotationProperty.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
Advice.OffsetMapping |
Advice.OffsetMapping.ForSerializedValue.Factory.make(ParameterDescription.InDefinedShape target,
AnnotationDescription.Loadable<T> annotation,
Advice.OffsetMapping.Factory.AdviceType adviceType)
Creates a new offset mapping for the supplied parameter if possible.
|
static Advice.OffsetMapping |
Advice.OffsetMapping.ForOrigin.parse(String pattern)
Parses a pattern of an origin annotation.
|
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
Advice.WithCustomMapping.bind(Class<T> type,
Advice.OffsetMapping offsetMapping)
Binds the supplied annotation to the annotation's property of the specified name.
|
Constructor and Description |
---|
Simple(Class<T> annotationType,
Advice.OffsetMapping offsetMapping)
Creates a simple factory for a simple binding for an offset mapping.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
CachedReturnPlugin.CacheFieldOffsetMapping
An offset mapping for the cached field.
|
Copyright © 2014–2020. All rights reserved.