Interface MethodDelegationBinder.Record
- All Known Implementing Classes:
MethodDelegationBinder.Processor,MethodDelegationBinder.Record.Illegal,TargetMethodAnnotationDrivenBinder.Record
- Enclosing interface:
MethodDelegationBinder
public static interface MethodDelegationBinder.Record
A method delegation that was compiled to a target method.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumA compiled method delegation binder that only yields illegal bindings. -
Method Summary
Modifier and TypeMethodDescriptionbind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner) Attempts a binding of a source method to this compiled target.
-
Method Details
-
bind
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.- 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.
-