write To
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.
See also
Parameters
code Generator
the CodeGenerator to write to.
aggregating
flag indicating if this is an aggregating symbol processor.
fun FileSpec.writeTo(codeGenerator: CodeGenerator, dependencies: Dependencies)
Content copied to clipboard
Writes this FileSpec to a given codeGenerator with the given dependencies.
See the docs for more information.
See also
Parameters
code Generator
the CodeGenerator to write to.
dependencies
the Dependencies to create a new file with.