createGeneratedFile

open fun createGeneratedFile(codeGenDir: File, packageName: String, fileName: String, content: String): GeneratedFile

Write content into a new file for the given packageName and fileName. fileName usually refers to the class name.

Sources

Link copied to clipboard