Package | Description |
---|---|
net.bytebuddy.asm |
The ASM package contains classes that are meant for direct interaction with the ASM API.
|
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 |
---|---|
<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.
|
Copyright © 2014–2018. All rights reserved.