In the past, IDEA used GroovyDSL scripts to add awareness for AST transformations -see https://confluence.jetbrains.com/display/GRVY/Scripting+IDE+for+DSL+awareness. That page is from 2012 though, so there might be a newer standard way of doing that now.
Shil On Mon, Aug 31, 2015 at 1:28 PM, Rahul Somasunderam < rsomasunde...@transcendinsights.com> wrote: > I've created a version of it locally and it works great, but don't think > it's fair for me to upload your work to maven central. > It can wait for when you're ready. > > CompileStatic works well with this, which is good. However IntelliJ IDEA > complains that the methods can't be found. > Any ideas? > > R, > rahul > > > *Rahul Somasunderam * > > *Engineer, Transcend Insights * > > On Aug 31, 2015, at 8:10 AM, Shil Sinha <shil.si...@gmail.com> wrote: > > Hi Rahul, > > Sorry I didn't respond to this earlier; I've had limited access to my > computer the past few days. I would like to offer this as a contribution to > groovy-core, but not in its existing form - this annotation and > transformation are basically just support for 'local' extensions, and would > benefit from reusing the existing code that works with extension modules. > In the meantime, if you'd like, I could create a separate repo for just > this annotation + transformation and package and upload it to maven central. > > Shil > > On Fri, Aug 28, 2015 at 1:17 AM, Rahul Somasunderam < > rsomasunde...@transcendinsights.com> wrote: > >> Exactly what I was looking for. Thanks! >> Do you plan to package it and upload it to maven central? Or contribute it >> to groovy-core? >> >> R, >> rahul >> >> >> >> -- >> View this message in context: >> http://groovy.329449.n5.nabble.com/Object-use-as-an-annotation-tp5727308p5727319.html >> Sent from the Groovy Users mailing list archive at Nabble.com. >> > > > > The information transmitted is intended only for the person or entity to > which it is addressed > and may contain CONFIDENTIAL material. If you receive this > material/information in error, > please contact the sender and delete or destroy the material/information. >