writeKotlin

Writes a generated Kotlin file: in the KAPT generated Kotlin sources directory (compiled by KAPT), or with the javax.annotation.processing.Filer if the processor is not run by KAPT.