T
- The annotation type of a given handler.public static class TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends Annotation> extends Object implements TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends Annotation>, TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound
Constructor and Description |
---|
Bound(TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder,
AnnotationDescription.Loadable<T> annotation)
Creates a new bound handler.
|
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(MethodDescription source,
ParameterDescription target,
Implementation.Target implementationTarget,
Assigner assigner)
Handles a parameter binding.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public Bound(TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder, AnnotationDescription.Loadable<T> annotation)
parameterBinder
- The parameter binder that is actually responsible for binding the parameter.annotation
- The annotation value that lead to the binding of this handler.public MethodDelegationBinder.ParameterBinding<?> bind(MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
bind
in interface TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
source
- The intercepted source method.target
- The target parameter that is subject to binding.implementationTarget
- The target of the current implementation.assigner
- An assigner that can be used for applying the binding.Copyright © 2014–2016. All rights reserved.