selectConstructor

fun <C : ShakeConstructor, T : ShakeType> selectConstructor(constructors: List<C>, parameters: List<T>): C?(source)

Select the best constructor for the given parameters

Return

The best constructor or null if no constructor was found

Parameters

constructors

The constructors to select from

parameters

The parameters to select the constructor for