Package | Description |
---|---|
net.bytebuddy.instrumentation |
The instrumentation package contains any logic for intercepting method calls.
|
net.bytebuddy.instrumentation.method.bytecode.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 |
---|---|
MethodDelegation |
MethodDelegation.appendParameterBinder(TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder)
Defines an parameter binder to be appended to the already defined parameter binders.
|
MethodDelegation |
MethodDelegation.defineParameterBinder(TargetMethodAnnotationDrivenBinder.ParameterBinder<?>... parameterBinder)
Defines a number of parameter binders to be appended to be used by this method delegation.
|
Constructor and Description |
---|
MethodDelegation(MethodDelegation.InstrumentationDelegate instrumentationDelegate,
List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider<?> defaultsProvider,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
Assigner assigner,
MethodList targetMethodCandidates)
Creates a new method delegation.
|
Modifier and Type | Class and Description |
---|---|
static class |
AllArguments.Binder
A binder for handling the
AllArguments
annotation. |
static class |
Argument.Binder
A binder for handling the
Argument
annotation. |
static class |
DefaultCall.Binder
A binder for handling the
DefaultCall
annotation. |
static class |
Origin.Binder
A binder for binding parameters that are annotated with
Origin . |
static class |
Pipe.Binder
A
TargetMethodAnnotationDrivenBinder.ParameterBinder
for binding the Pipe annotation. |
static class |
Super.Binder
A binder for handling the
Super
annotation. |
static class |
SuperCall.Binder
A binder for handling the
SuperCall
annotation. |
static class |
This.Binder
A binder for handling the
This
annotation. |
Modifier and Type | Method and Description |
---|---|
static TargetMethodAnnotationDrivenBinder.ParameterBinder<Pipe> |
Pipe.Binder.install(Class<?> type)
Installs a given type for use on a
Pipe
annotation. |
Constructor and Description |
---|
TargetMethodAnnotationDrivenBinder(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider<?> defaultsProvider,
Assigner assigner,
MethodDelegationBinder.MethodInvoker methodInvoker)
Creates a new method delegation binder that binds method based on annotations found on the target method.
|
Copyright © 2014. All rights reserved.