generate

fun generate(classDeclaration: KSClassDeclaration, codeGenerator: CodeGenerator)

Generates a mapping function for the given class declaration.

Parameters

classDeclaration

The class declaration to generate the mapping function for.

codeGenerator

The code generator to use for generating the mapping function.