ShakeSelect

Utility to select the best function or constructor for a given set of parameters

Functions

Link copied to clipboard
fun <C : ShakeConstructor, T : ShakeType> selectConstructor(constructors: List<C>, parameters: List<T>): C?

Select the best constructor for the given parameters

Link copied to clipboard
fun <I : ShakeInvokable, T : ShakeType> selectFunction(functions: List<I>, parameters: List<T>): I?

Select the best function for the given parameters