Plain

data class Plain(val originalName: String, val exportedName: String, val type: KSType, val defaultExpression: String?, val sourceAnnotations: String?) : ParameterDescriptor

A plain parameter: exactly one entry in the source function's parameter list, exactly one entry in the wrapper's parameter list.

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

Constructors

Link copied to clipboard
constructor(originalName: String, exportedName: String, type: KSType, defaultExpression: String?, sourceAnnotations: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val originalName: String
Link copied to clipboard
open override val sourceAnnotations: String?
Link copied to clipboard
val type: KSType