plan

fun plan(type: TypeShape, isInjected: Boolean, candidates: List<FactoryCandidate>): CoercionPlan

Return

how to fill the parameter, or CoercionPlan.Unsupported when nothing matches

Parameters

type

resolved shape of the parameter's type

isInjected

whether the parameter carries @Injected

candidates

factory functions available on ValueFactory