Class TargetMethodAnnotationDrivenBinder.Record
- java.lang.Object
-
- net.bytebuddy.implementation.bind.annotation.TargetMethodAnnotationDrivenBinder.Record
-
- All Implemented Interfaces:
MethodDelegationBinder.Record
- Enclosing class:
- TargetMethodAnnotationDrivenBinder
protected static class TargetMethodAnnotationDrivenBinder.Record extends java.lang.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 protectedRecord(MethodDescription candidate, java.util.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.MethodBindingbind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner)Attempts a binding of a source method to this compiled target.java.lang.StringtoString()
-
-
-
Constructor Detail
-
Record
protected Record(MethodDescription candidate, java.util.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)
Description copied from interface:MethodDelegationBinder.RecordAttempts a binding of a source method to this compiled target.- Specified by:
bindin 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 thetargetmethod.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
sourcemethod to thetargetmethod.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-