class Spring41MethodArgumentBuilderWrapper implements MethodArgumentBuilderWrapper {

        private final org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder builder;


        private Spring41MethodArgumentBuilderWrapper(
                final org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder builder) {
            super();
            this.builder = builder;
        }

        public MethodArgumentBuilderWrapper arg(final int index, final Object value) {
            return new Spring41MethodArgumentBuilderWrapper(this.builder.arg(index, value));
        }

        public MethodArgumentBuilderWrapper encode() {<FILL_FUNCTION_BODY>}

        public String build() {
            return this.builder.build();
        }

        public String buildAndExpand(final Object... uriVariables) {
            return this.builder.buildAndExpand(uriVariables);
        }

    }

            if (!SpringVersionUtils.isSpringAtLeast(5,0,8)) {
                throw new IllegalStateException(String.format(
                        "At least Spring version 5.0.8.RELEASE is needed for executing " +
                        "MvcUriComponentsBuilder#encode() but detected Spring version is %s.",
                        SpringVersionUtils.getSpringVersion()));
            }
            return new Spring41MethodArgumentBuilderWrapper(this.builder.encode());
        
<no_super_class>