Class TargetMethodAnnotationDrivenBinder.Record
- java.lang.Object
-
- net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder.Record
-
- All Implemented Interfaces:
MethodDelegationBinder.Record
- Enclosing class:
- TargetMethodAnnotationDrivenBinder
@Enhance protected static class TargetMethodAnnotationDrivenBinder.Record extends Object implements MethodDelegationBinder.Record
A compiled record of a target method annotation-driven binder.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.bytebuddy.implementation.bind.MethodDelegationBinder.Record
MethodDelegationBinder.Record.Illegal
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Record(MethodDescription candidate, List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers, Assigner.Typing typing)
Creates a default compiled method delegation binder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MethodDelegationBinder.MethodBinding
bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner)
Attempts a binding of a source method to this compiled target.String
toString()
-
-
-
Constructor Detail
-
Record
protected Record(MethodDescription candidate, List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers, Assigner.Typing typing)
Creates a default compiled method delegation binder.- Parameters:
candidate
- The candidate method.handlers
- A list of handlers for each parameter.typing
- The typing to apply.
-
-
Method Detail
-
bind
public MethodDelegationBinder.MethodBinding bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner)
Attempts a binding of a source method to this compiled target.- Specified by:
bind
in interfaceMethodDelegationBinder.Record
- Parameters:
implementationTarget
- The target of the current implementation onto which this binding is to be applied.source
- The method that is to be bound to thetarget
method.terminationHandler
- The termination handler to apply.methodInvoker
- The method invoker to use.assigner
- The assigner to use.- Returns:
- A binding representing this attempt to bind the
source
method to thetarget
method.
-
-