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 Classes Modifier and Type Interface Description static class
MethodDelegationBinder.Record.Illegal
A compiled method delegation binder that only yields illegal bindings.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
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 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.
-
-