I’m working on an Annotation Processor that would require editing source files in place, which is simply not supported by JSR-308. Instead, it seems like the only two options are Lombok or source manipulation.
I don’t really want to use Lombok, so I want to run a Gradle Task over the sources file. Each task can run independently inside a source file, and the source file will be rewritten. What is the best way of doing this? I would prefer being able to still do incremental compilation, and I only need to support Java right now.