Class TargetMethodAnnotationDrivenBinder.ParameterBinder.ForFixedValue<S extends java.lang.annotation.Annotation>

    • Constructor Detail

      • ForFixedValue

        public ForFixedValue()
    • Method Detail

      • bind

        protected abstract java.lang.Object bind​(AnnotationDescription.Loadable<S> annotation,
                                                 MethodDescription source,
                                                 ParameterDescription target)
        Resolves a value for the given annotation on a parameter that is processed by a MethodDelegation.
        Parameters:
        annotation - The annotation that triggered this binding.
        source - The method for which a delegation is currently bound.
        target - The parameter for which a value is bound.
        Returns:
        The constant pool value that is bound to this parameter or null for binding this value.