defaultValueInjector

open fun defaultValueInjector(param: KParameter): Any

Allows the reflection invoker to populate a parameter map with values in order to sus out any default parameters.

Return

value of the proper type to match param

Parameters

param

Parameter to provide value for

Throws

if parameter type is not one of the basic types supported below.