findMethod

abstract fun findMethod(name: String, arguments: List<Term>): KCallable<*>

Finds the public method (or property getter) of type named name whose formal parameters best match arguments.

Throws