Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
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.
|
Constructor and Description |
---|
MethodDelegation(MethodDelegation.ImplementationDelegate implementationDelegate,
List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider,
TargetMethodAnnotationDrivenBinder.TerminationHandler terminationHandler,
MethodDelegationBinder.AmbiguityResolver ambiguityResolver,
Assigner assigner,
MethodDelegation.MethodContainer methodContainer)
Creates a new method delegation.
|
Modifier and Type | Class and Description |
---|---|
static class |
TargetMethodAnnotationDrivenBinder.TerminationHandler.Dropping
A termination handler that pops the return value of the interception method.
|
static class |
TargetMethodAnnotationDrivenBinder.TerminationHandler.Returning
A termination handler that returns the return value of the interception method.
|
Constructor and Description |
---|
TargetMethodAnnotationDrivenBinder(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders,
TargetMethodAnnotationDrivenBinder.DefaultsProvider defaultsProvider,
TargetMethodAnnotationDrivenBinder.TerminationHandler terminationHandler,
Assigner assigner,
MethodDelegationBinder.MethodInvoker methodInvoker)
Creates a new method delegation binder that binds method based on annotations found on the target method.
|
Copyright © 2014–2016. All rights reserved.