protected static class TargetMethodAnnotationDrivenBinder.Record extends Object implements MethodDelegationBinder.Record
MethodDelegationBinder.Record.Illegal| Modifier | Constructor and Description |
|---|---|
protected |
Record(MethodDescription candidate,
List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers,
Assigner.Typing typing)
Creates a default compiled method delegation binder.
|
| Modifier and Type | Method and 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() |
protected Record(MethodDescription candidate, List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers, Assigner.Typing typing)
candidate - The candidate method.handlers - A list of handlers for each parameter.typing - The typing to apply.public MethodDelegationBinder.MethodBinding bind(Implementation.Target implementationTarget, MethodDescription source, MethodDelegationBinder.TerminationHandler terminationHandler, MethodDelegationBinder.MethodInvoker methodInvoker, Assigner assigner)
MethodDelegationBinder.Recordbind in interface MethodDelegationBinder.RecordimplementationTarget - The target of the current implementation onto which this binding is to be applied.source - The method that is to be bound to the target method.terminationHandler - Ther termination handler to apply.methodInvoker - The method invoker to use.assigner - The assigner to use.source method to the target method.Copyright © 2014–2017. All rights reserved.