code: public <T> VoidFunction<T>  voidFunction(Class<? extends VoidFunction<T>> springBeanClass) {
          return new SpringVoidFunction<>(springConfigurationClass, springBeanClass);
      }
docs: Create a new SpringVoidFunction, which implements Spark's VoidFunction interface.