Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Decouple code gen API from apt and kotlin-metadata #816
This is a proposal implementation to decouple the code gen API from both annotation processing and kotlin-metadata APIs.
The idea here is that this separation allows for the implementation of data for the code gen to be an implementation detail, and thus allows the code gen to be reusable for different front-ends. Right now it's heavily coupled to annotation processing + kotlin-metadata, but we could conceivably easily implement new support for things like
etc. with KotlinPoet being the common foundation in the API for all of them.
At the time of writing, this PR is mostly about separating out API pieces, but not much has been put into the actual design of an API that anything other than APT can use.