Interface MethodDelegationBinder.Record
-
- All Known Implementing Classes:
MethodDelegationBinder.Processor,MethodDelegationBinder.Record.Illegal,TargetMethodAnnotationDrivenBinder.Record
- Enclosing interface:
- MethodDelegationBinder
public static interface MethodDelegationBinder.RecordA method delegation that was compiled to a target method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMethodDelegationBinder.Record.IllegalA compiled method delegation binder that only yields illegal bindings.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
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.
-
-