T
- The annotation type of a given handler.@HashCodeAndEqualsPlugin.Enhance 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()
isBound
in interface TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
true
if this handler was explicitly bound.public MethodDelegationBinder.ParameterBinding<?> bind(MethodDescription source, Implementation.Target implementationTarget, Assigner assigner)
bind
in interface TargetMethodAnnotationDrivenBinder.DelegationProcessor.Handler
source
- The intercepted source method.implementationTarget
- The target of the current implementation.assigner
- The assigner to use.Copyright © 2014–2025. All rights reserved.