asConstructor

Returns lambda which calls newObject and returns the result.


Returns lambda which calls newObject setting arguments with jArgs and returns the result.

Note: each of the parameter types must be not-null if it's a primitive type, otherwise it must be nullable.