Re: Compatibility with Java syntax

2024-02-20 Thread Saravanan Palanichamy
Hello Groovy users I am trying to compile Java code using the Groovy compiler. 99% of it works which is awesome. There are however some constructs that dont play nice Annotation collections needs a [ ... ] instead of { ... } that is used in Java. @MyCollectionOfAnnotations({

Compatibility with Java syntax

2024-02-20 Thread Saravanan Palanichamy
Hello Groovy users I am trying to compile Java code using the Groovy compiler. 99% of it works which is awesome. There are however some constructs that dont play nice - Annotation collections needs a [ ... ] instead of { ... } that is used in Java @MyCollectionOfAnnotations({ >@