T
- The Annotation.annotationType()
handled by this parameter binder.public static interface TargetMethodAnnotationDrivenBinder.ParameterBinder<T extends Annotation>
Modifier and Type | Method and Description |
---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(T annotation,
int targetParameterIndex,
MethodDescription source,
MethodDescription target,
Instrumentation.Target instrumentationTarget,
Assigner assigner)
Creates a parameter binding for the given target parameter.
|
Class<T> |
getHandledType()
The annotation type that is handled by this parameter binder.
|
Class<T> getHandledType()
Annotation.annotationType()
handled by this parameter binder.MethodDelegationBinder.ParameterBinding<?> bind(T annotation, int targetParameterIndex, MethodDescription source, MethodDescription target, Instrumentation.Target instrumentationTarget, Assigner assigner)
annotation
- The annotation that was cause for the delegation to this argument binder.targetParameterIndex
- The index of the target method's parameter to be bound.source
- The source method that is bound to the target
method.target
- Tge target method that is subject to be bound by the source
method.instrumentationTarget
- The target of the current instrumentation that is subject to this binding.assigner
- An assigner that can be used for applying the binding.Copyright © 2014. All rights reserved.