newInstanceBestMatch

fun newInstanceBestMatch(clz: Class<*>, vararg params: Any?): Any

Create a new instance of the class

Return

new instance

Parameters

clz

class

params

constructor params

Throws

if the constructor is not found