groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Laforge <glafo...@gmail.com>
Subject Re: Repeating annotations
Date Fri, 31 Jul 2015 06:40:06 GMT
And did you also see the annotations on types?
Wherever you have class names, basically, you'll be able to put annotations.
Even for things like casts: def a = (@NotNull Foo)something

On Fri, Jul 31, 2015 at 1:22 AM, Mark Perry <maperry78@yahoo.com.au> wrote:

> >
> >
> >Repeating annotations will be supported, but we first need to finish the
> new Antlr v4 grammar of Groovy (slated for Groovy 3.0).
> >I don't think we've created JIRA tickets for the various Java 8 related
> syntax features — but those features still need to be discussed as not all
> necessary make sense to be migrated to Groovy.
> >>
> >>Are there plans for supporting Java 8's repeating annotations in Groovy?
> Is it already scheduled maybe? I couldn't find a corresponding JIRA issue.
> >>
>
>
> I wasn't aware this was in Java 8 until now.  Thanks for spoiling my
> ignorance! (
> https://docs.oracle.com/javase/tutorial/java/annotations/repeating.html)
>
> Mark
>



-- 
Guillaume Laforge
Apache Groovy committer & PMC member
Product Ninja & Advocate at Restlet <http://restlet.com>

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> / Google+
<https://plus.google.com/u/0/114130972232398734985/posts>

Mime
View raw message