@HashCodeAndEqualsPlugin.Enhance public class TargetMethodAnnotationDrivenBinder extends Object implements MethodDelegationBinder
MethodDelegationBinder binds
 method by analyzing annotations found on the target method that is subject to a method binding.| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | TargetMethodAnnotationDrivenBinder.DelegationProcessorA delegation processor is a helper class for a
  TargetMethodAnnotationDrivenBinderfor performing its actual logic. | 
| static interface  | TargetMethodAnnotationDrivenBinder.ParameterBinder<T extends Annotation>A parameter binder is used as a delegate for binding a parameter according to a particular annotation type found
 on this parameter. | 
| protected static class  | TargetMethodAnnotationDrivenBinder.RecordA compiled record of a target method annotation-driven binder. | 
MethodDelegationBinder.AmbiguityResolver, MethodDelegationBinder.BindingResolver, MethodDelegationBinder.MethodBinding, MethodDelegationBinder.MethodInvoker, MethodDelegationBinder.ParameterBinding<T>, MethodDelegationBinder.Processor, MethodDelegationBinder.TerminationHandler| Modifier | Constructor and Description | 
|---|---|
| protected  | TargetMethodAnnotationDrivenBinder(TargetMethodAnnotationDrivenBinder.DelegationProcessor delegationProcessor)Creates a new target method annotation-driven binder. | 
| Modifier and Type | Method and Description | 
|---|---|
| MethodDelegationBinder.Record | compile(MethodDescription candidate)Compiles this method delegation binder for a target method. | 
| static MethodDelegationBinder | of(List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)Creates a new method delegation binder that binds method based on annotations found on the target method. | 
protected TargetMethodAnnotationDrivenBinder(TargetMethodAnnotationDrivenBinder.DelegationProcessor delegationProcessor)
delegationProcessor - The delegation processor to use.public static MethodDelegationBinder of(List<? extends TargetMethodAnnotationDrivenBinder.ParameterBinder<?>> parameterBinders)
parameterBinders - A list of parameter binder delegates. Each such delegate is responsible for creating a
                         MethodDelegationBinder.ParameterBinding
                         for a specific annotation.public MethodDelegationBinder.Record compile(MethodDescription candidate)
compile in interface MethodDelegationBindercandidate - The target method to bind.Copyright © 2014–2024. All rights reserved.