Package | Description |
---|---|
net.bytebuddy.implementation.bind.annotation |
This package contains annotations, types and classes that are responsible for binding a method to calling another
method by interpreting annotations that indicate how a method should be bound to another method.
|
Modifier and Type | Class and Description |
---|---|
static class |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends java.lang.annotation.Annotation>
A bound handler represents an unambiguous parameter binder that was located for a given array of
annotations.
|
static class |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound
An unbound handler is a fallback for returning an illegal binding for parameters for which no parameter
binder could be located.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> |
TargetMethodAnnotationDrivenBinder.Record.handlers
A list of handlers for each parameter.
|
Modifier and Type | Method and Description |
---|---|
protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound.of(ParameterDescription target,
TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder,
AnnotationDescription annotation,
Assigner.Typing typing)
Creates a handler for a given annotation.
|
protected TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler |
TargetMethodAnnotationDrivenBinder.DelegationProcessor.prepare(ParameterDescription target)
Locates a handler which is responsible for processing the given parameter.
|
Constructor and Description |
---|
Record(MethodDescription candidate,
java.util.List<TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler> handlers,
Assigner.Typing typing)
Creates a default compiled method delegation binder.
|