code: static Object[] toArguments(List<AnnotatedValueResolver> resolvers,
                                  ResolverContext resolverContext) {
          requireNonNull(resolvers, "resolvers");
          requireNonNull(resolverContext, "resolverContext");
          if (resolvers.isEmpty()) {
              return emptyArguments;
          }
          return resolvers.stream().map(resolver -> resolver.resolve(resolverContext)).toArray();
      }
docs: Returns an array of arguments which are resolved by each {@link AnnotatedValueResolver} of the
  specified {@code resolvers}.