Plain

constructor(originalName: String, exportedName: String, type: KSType, defaultExpression: String?, sourceAnnotations: String?)

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