write To
fun FileSpec.writeTo(codeGenerator: CodeGenerator, aggregating: Boolean, originatingKSFiles: Iterable<KSFile> = originatingKSFiles())
Writes this FileSpec to a given codeGenerator with the given originatingKSFiles.
Note that if none are specified, the originatingKSFiles argument defaults to using FileSpec.originatingKSFiles, which will automatically resolve any files added to the contained declarations.
See the docs for more information.
Parameters
code Generator
the CodeGenerator to write to.
aggregating
flag indicating if this is an aggregating symbol processor.
See also
Writes this FileSpec to a given codeGenerator with the given dependencies.
See the docs for more information.
Parameters
code Generator
the CodeGenerator to write to.
dependencies
the Dependencies to create a new file with.