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

    • Constructor Detail

      • OfConstant

        protected OfConstant​(java.lang.Class<U> type,
                             java.lang.Object value)
        Creates a binder for binding a fixed value to a parameter annotated with the given annotation.
        Parameters:
        type - The type of the annotation that is bound by this binder.
        value - The value that is assigned to any annotated parameter.