Interface TargetMethodAnnotationDrivenBinder.ParameterBinder<T extends java.lang.annotation.Annotation>

    • Method Detail

      • getHandledType

        java.lang.Class<T> getHandledType()
        The annotation type that is handled by this parameter binder.
        Returns:
        The Annotation.annotationType() handled by this parameter binder.
      • bind

        MethodDelegationBinder.ParameterBinding<?> bind​(AnnotationDescription.Loadable<T> annotation,
                                                        MethodDescription source,
                                                        ParameterDescription target,
                                                        Implementation.Target implementationTarget,
                                                        Assigner assigner,
                                                        Assigner.Typing typing)
        Creates a parameter binding for the given target parameter.
        Parameters:
        annotation - The annotation that was cause for the delegation to this argument binder.
        source - The intercepted source method.
        target - Tge target parameter that is subject to be bound to intercepting the source method.
        implementationTarget - The target of the current implementation that is subject to this binding.
        assigner - An assigner that can be used for applying the binding.
        typing - The typing to apply.
        Returns:
        A parameter binding for the requested target method parameter.