findConstructor

abstract fun findConstructor(arguments: List<Term>): KCallable<*>

Finds the public constructor of type whose formal parameters best match arguments.

Throws