Dispatching to Java lambda constructors