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