I am a complete newbie to using KotlinPoet.
I would like to programmatically generate the following code using KotlinPoet:
public val MyClass.Companion.classID: Long
get() = 0x100
Unfortunately, after many attempts, I have not yet found a way to create that Companion Object of a class.
Maybe someone knows a possible solution, or can this not be realized with KotlinPoet?