How do I use Kotlinpoet to generate the following code?
data class Test (
  @Id
  var id: Long
) : Interface {
  override fun primaryKey() : Serializable = this
}
How do I use Kotlinpoet to generate the following code?
data class Test (
  @Id
  var id: Long
) : Interface {
  override fun primaryKey() : Serializable = this
}
with Yrii‘s answer, you also need call