protected static class TargetMethodAnnotationDrivenBinder.DelegationProcessor extends Object
TargetMethodAnnotationDrivenBinder
for performing its actual logic. By outsourcing this logic to this helper class, a cleaner implementation
can be provided.Modifier and Type | Class and Description |
---|---|
protected static interface |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
A handler is responsible for processing a parameter's binding.
|
Modifier | Constructor and Description |
---|---|
protected |
DelegationProcessor(Map<TypeDescription,TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
Creates a new delegation processor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor |
of(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
Creates a new delegation processor.
|
String |
toString() |
protected DelegationProcessor(Map<TypeDescription,TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
parameterBinders
- A mapping of parameter binders by their handling type.protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor of(List<TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
parameterBinders
- A list of parameter binder delegates. Each such delegate is responsible for creating
a MethodDelegationBinder.ParameterBinding
for a specific annotation.Copyright © 2014–2016. All rights reserved.