newInstance

fun newInstance(clz: Class<*>, paramTypes: ParamTypes = paramTypes(), params: Params = params()): Any

Create a new instance of the class

Return

new instance

Parameters

clz

class

paramTypes

constructor param types

params

constructor params

Throws

if the constructor is not found