T - The Annotation.annotationType() handled by this parameter binder.public static interface TargetMethodAnnotationDrivenBinder.ParameterBinder<T extends Annotation>
| Modifier and Type | Interface and Description |
|---|---|
static class |
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFieldBinding<S extends Annotation>
A parameter binder that binds a field's value.
|
static class |
TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue<S extends Annotation>
Implements a parameter binder that binds a fixed value to a parameter with a given annotation.
|
| Modifier and Type | Field and Description |
|---|---|
static List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> |
DEFAULTS
The default parameter binders to be used.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(AnnotationDescription.Loadable<T> annotation,
MethodDescription source,
ParameterDescription target,
Implementation.Target implementationTarget,
Assigner assigner)
Creates a parameter binding for the given target parameter.
|
Class<T> |
getHandledType()
The annotation type that is handled by this parameter binder.
|
static final List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> DEFAULTS
Class<T> getHandledType()
Annotation.annotationType() handled by this parameter binder.MethodDelegationBinder.ParameterBinding<?> bind(AnnotationDescription.Loadable<T> annotation, MethodDescription source, ParameterDescription target, Implementation.Target implementationTarget, Assigner assigner)
annotation - The annotation that was cause for the delegation to this argument binder.source - The intercepted source method.target - Tge target parameter that is subject to be bound to
intercepting the source method.implementationTarget - The target of the current implementation that is subject to this binding.assigner - An assigner that can be used for applying the binding.Copyright © 2014–2016. All rights reserved.