FunctionDescriptor

constructor(originalName: String, exportedName: String, qualifiedName: String, returnType: KSType, parameters: List<ParameterDescriptor>, declaration: KSFunctionDeclaration, sourceAnnotations: String?, kdoc: String?)

Parameters

originalName

Kotlin simple name of the source function (used to invoke the original from the wrapper)

exportedName

name exposed to Quarkdown after applying @Name to the function; falls back to originalName when absent

qualifiedName

fully qualified name of the source function

returnType

resolved return type of the source function

parameters

function parameters in declaration order

declaration

the underlying KSP declaration

sourceAnnotations

verbatim source text of function-level annotations to propagate to the wrapper, or null when the function has none

kdoc

raw KDoc block text of the source function (inner content, no /** */ markers), or null when the function is undocumented; copied to the wrapper by the code generator after names have been substituted