FileGenerator

fun interface FileGenerator<T>

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
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.

Link copied to clipboard
abstract fun generate(codeGenDir: File, params: T): GeneratedFile?

Sources

Link copied to clipboard