electronicarts / ea-async

EA Async implements async-await methods in the JVM.
https://go.ea.com/ea-async
Other
1.38k stars 129 forks source link

provide annotation processor #20

Open domdorn opened 6 years ago

domdorn commented 6 years ago

I'm just trying out ea-async on a project... while compiling with maven works great, I'm having trouble integrating this in my dev-workflow where I'm using intellij idea.

Usually, libraries like this one (e.g. immutables.org) provide a annotation-processor that I can plug into my IDE workflow.. at the moment, I'm unable to get idea to run the maven plugin on automatic recompilation (which I have enabled through JRebel)

JoeHegarty commented 6 years ago

Thanks. I agree. An annotation processor and gradle plugin are high on my list.

domdorn commented 6 years ago

Actually, I think it should be a compiler plugin, as we're not processing any annotations.

andy-yx-chen commented 6 years ago

As workarounds, you can insert Async.init() into your code, it will be removed anyways