private static BiFunction<AnnotatedValueResolver, ResolverContext, Object>
    resolver(Function<ResolverContext, String> getter) {
        return (resolver, ctx) -> resolver.convert(getter.apply(ctx));
    }
Returns a single value resolver which retrieves a value from the specified {@code getter}
and converts it.
core/src/main/java/com/linecorp/armeria/internal/server/annotation/AnnotatedValueResolver.java