Plain

constructor(originalName: String, exportedName: String, type: KSType, defaultExpression: String?, sourceAnnotations: String?, index: Int, isBody: Boolean, isInjected: Boolean, isNullable: Boolean, plan: CoercionPlan)

Parameters

originalName

Kotlin parameter name on the source function

exportedName

name to use on the generated wrapper, possibly rewritten by @Name

type

the resolved parameter type

defaultExpression

verbatim source text of the parameter's default value, or null when the parameter has no default

sourceAnnotations

verbatim source text of parameter-level annotations to propagate to the wrapper

index

position of the parameter in the flattened parameter list, matching its runtime index

isBody

whether the parameter is explicitly reserved for the body argument

isInjected

whether the parameter is supplied from the function call rather than the call site

isNullable

whether the declared type is marked nullable

plan

how the generated body fills this parameter