validateIsMatchingCtor

fun validateIsMatchingCtor(methodNameHint: String, parameters: List<<Error class: unknown class><String, Type>>, args: String)

Validates that the argument string matches the constructor parameters, i.e. this is a matching constructor for the argument string. Exception is thrown if not a match

Parameters

methodNameHint

A name that will be used in exceptions if thrown; not used for any other purpose.

Throws

If no match is found between constructor parameters and passed string.