T - The annotation type of a given handler.public static class TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends Annotation> extends Object implements TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Bound<T extends Annotation>, TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler.Unbound| Modifier | Constructor and Description |
|---|---|
protected |
Bound(ParameterDescription target,
TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder,
AnnotationDescription.Loadable<T> annotation,
Assigner.Typing typing)
Creates a new bound handler.
|
| Modifier and Type | Method and Description |
|---|---|
MethodDelegationBinder.ParameterBinding<?> |
bind(MethodDescription source,
Implementation.Target implementationTarget,
Assigner assigner)
Handles a parameter binding.
|
boolean |
isBound()
Indicates if this handler was explicitly bound.
|
protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler |
of(ParameterDescription target,
TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder,
AnnotationDescription annotation,
Assigner.Typing typing)
Creates a handler for a given annotation.
|
protected Bound(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<T> parameterBinder, AnnotationDescription.Loadable<T> annotation, Assigner.Typing typing)
target - The target parameter being handled.parameterBinder - The parameter binder that is actually responsible for binding the parameter.annotation - The annotation value that lead to the binding of this handler.typing - The typing to apply.protected static TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler of(ParameterDescription target, TargetMethodAnnotationDrivenBinder.ParameterBinder<?> parameterBinder, AnnotationDescription annotation, Assigner.Typing typing)
target - The target parameter being handled.parameterBinder - The parameter binder that should process an annotation.annotation - An annotation instance that can be understood by this parameter binder.typing - The typing to apply.public boolean isBound()
TargetMethodAnnotationDrivenBinder.DelegationProcessor.HandlerisBound in interface TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handlertrue if this handler was explicitly bound.public MethodDelegationBinder.ParameterBinding<?> bind(MethodDescription source, Implementation.Target implementationTarget, Assigner assigner)
TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handlerbind in interface TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handlersource - The intercepted source method.implementationTarget - The target of the current implementation.assigner - The assigner to use.Copyright © 2014–2017. All rights reserved.