ModuleDescriptor

constructor(name: String, packageName: String, file: KSFile, functions: List<FunctionDescriptor>, sourceImports: String?)

Parameters

name

simple name of the module

packageName

JVM package of the source file

file

the underlying KSP file declaration

functions

exported functions discovered in this module, in source order

sourceImports

verbatim text of the source file's import list, or null when the file has none; copied into the generated wrapper so default expressions can reference symbols the source imported