FunctionParameter

constructor(name: String, type: KClass<T>, index: Int, isOptional: Boolean = false, isInjected: Boolean = false)

Parameters

name

name of the parameter

type

expected input value type

index

index of the parameter in the function signature

isOptional

whether the corresponding argument in a function call can be omitted

isInjected

whether the corresponding argument in a function call is automatically injected and is not to be supplied by the caller.

T

input type of the parameter