@HashCodeAndEqualsPlugin.Enhance protected static class TargetMethodAnnotationDrivenBinder.Record extends java.lang.Object implements MethodDelegationBinder.Record
MethodDelegationBinder.Record.Illegal| Modifier and Type | Field and Description |
|---|---|
private MethodDescription |
candidate
The candidate method.
|
private java.util.List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> |
handlers
A list of handlers for each parameter.
|
private Assigner.Typing |
typing
The typing to apply.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Record(MethodDescription candidate,
java.util.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.
|
java.lang.String |
toString() |
private final MethodDescription candidate
private final java.util.List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers
private final Assigner.Typing typing
protected Record(MethodDescription candidate, java.util.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)
bind 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 - The termination handler to apply.methodInvoker - The method invoker to use.assigner - The assigner to use.source method to the target method.public java.lang.String toString()
toString in class java.lang.Object