Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CDEB617DCF for ; Thu, 3 Sep 2015 03:42:43 +0000 (UTC) Received: (qmail 11642 invoked by uid 500); 3 Sep 2015 03:42:43 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 11597 invoked by uid 500); 3 Sep 2015 03:42:43 -0000 Mailing-List: contact users-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.incubator.apache.org Delivered-To: mailing list users@groovy.incubator.apache.org Received: (qmail 11586 invoked by uid 99); 3 Sep 2015 03:42:43 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Sep 2015 03:42:43 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 079DBC0C9B for ; Thu, 3 Sep 2015 03:42:43 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 4.213 X-Spam-Level: **** X-Spam-Status: No, score=4.213 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Kj_E-Yijalc5 for ; Thu, 3 Sep 2015 03:42:33 +0000 (UTC) Received: from mail-ig0-f174.google.com (mail-ig0-f174.google.com [209.85.213.174]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 09FF250694 for ; Thu, 3 Sep 2015 03:42:33 +0000 (UTC) Received: by igbkq10 with SMTP id kq10so5314398igb.0 for ; Wed, 02 Sep 2015 20:42:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=V4FZCcofYOL71HLHsNhZufM6Urt8sLoZMzhpI3dILNs=; b=QItOoakVFEwZb12cBosttucl4vtJBCYHyOk/x7trefaKBImn+4mdysUh5BVGsgo1XS QiEIUFCZU6p1r8WjGGxM2IKwf/HKZ8QHgRXkQNHAQH+nSFSbOSLaV0F4/n9AqiuHJPsD J9UIbpIH2vMqn1QMKamarUsT2m6YtAQ/ZK8F6ovU9KJ0Y0zHyiaGZDng3iPRPAVrd3al kGrcRxXsg/CQ0MaCP3RspqyZ4cizQh8BJbx9pjXXJQVZCksP+eDuh23EZ9IQFAITfsFW laAMr2pl0Vvt0+MvV6gfpT8qUynEXrbrn7PR5Z5jFUvSmrgIaRo7mI3LvqTWP/FsKlJu R4tg== MIME-Version: 1.0 X-Received: by 10.50.119.105 with SMTP id kt9mr8725781igb.97.1441251752582; Wed, 02 Sep 2015 20:42:32 -0700 (PDT) Received: by 10.79.34.232 with HTTP; Wed, 2 Sep 2015 20:42:32 -0700 (PDT) In-Reply-To: <2670D64F-1F24-42CF-AE2B-7DC4F744E8E5@humana.com> References: <1440649218336-5727308.post@n5.nabble.com> <1440735459472-5727319.post@n5.nabble.com> <2670D64F-1F24-42CF-AE2B-7DC4F744E8E5@humana.com> Date: Wed, 2 Sep 2015 23:42:32 -0400 Message-ID: Subject: Re: Object.use as an annotation From: Shil Sinha To: users@groovy.incubator.apache.org Content-Type: multipart/alternative; boundary=089e0111c26abea3c1051ecf925b --089e0111c26abea3c1051ecf925b Content-Type: text/plain; charset=UTF-8 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 < rsomasunderam@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 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 < > rsomasunderam@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. > --089e0111c26abea3c1051ecf925b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In the past, IDEA used GroovyDSL scripts to add awareness = for AST transformations -see=C2=A0https://confluence.jetbrai= ns.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 <rsomasunderam@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.=C2=A0

CompileStatic works well with this, which is good. However IntelliJ ID= EA 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.sinha@gmail.com> wrote:

Hi Rahul,

Sorry I didn't respond to this earlier; I've had limited acces= s to my computer the past few days. I would like to offer this as a contrib= ution to groovy-core, but not in its existing form - this annotation and tr= ansformation 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&#= 39;d like, I could create a separate repo for just this annotation + transf= ormation and package and upload it to maven central.

Shil

On Fri, Aug 28, 2015 at 1:17 AM, Rahul Somasunde= ram <rsomasunderam@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<= br> to groovy-core?

R,
rahul



--
View this message in context: http://groovy.329449.n5.nabble.com/Object-use-as-an-annotation-tp5727308p57= 27319.html
Sent from the Groovy Users mailing list archive at Nabble.com.



The information transmitted is intended only for the person or entity to wh= ich it is addressed
and may contain CONFIDENTIAL material. If you receive this material/inform= ation in error,
please contact the sender and delete or destroy the material/information.

--089e0111c26abea3c1051ecf925b--