public static <E> OptionalFunction<Selection<Constructor<?>>, E> instantiate(Object... args) {
    return OptionalFunction.of(selection -> factory.createInvoker(selection.result()).withArgs(args));
  }
public static < E > OptionalFunction < Selection < Constructor < ? > > , E > instantiate ( Object ... args ) { return OptionalFunction . of ( selection -> factory . createInvoker ( selection . result ( ) ) . withArgs ( args ) ) ; }
Returns a function that invokes a selected constructor.

@param args the arguments for invoking the constructor
@return a function that invokes a selected constructor