net.bytebuddy.implementation.bind.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.DelegationProcessor
A delegation processor is a helper class for a
|
public static interface | TargetMethodAnnotationDrivenBinder.ParameterBinder<
The T extends Annotation>java. handled by this parameter binder.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.Record
A compiled record of a target method annotation-driven binder. |
Modifier and Type | Field and Description |
---|---|
private final TargetMethodAnnotationDrivenBinder. | delegationProcessor
The processor for performing an actual method delegation. |
Access | Constructor and Description |
---|---|
protected | TargetMethodAnnotationDrivenBinder(TargetMethodAnnotationDrivenBinder.
The delegation processor to use. delegationProcessorCreates a new target method annotation-driven binder. |
Modifier and Type | Method and Description |
---|---|
public MethodDelegationBinder. | compile(MethodDescription
The target method to bind. candidate)Implements net. |
public static MethodDelegationBinder | Returns: An appropriate method delegation binder.A list of parameter binder delegates. Each such delegate is responsible for creating a
parameterBinders)net.
for a specific annotation.Creates a new method delegation binder that binds method based on annotations found on the target method. |