You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (Jira)" <ji...@apache.org> on 2022/01/24 06:30:00 UTC

[jira] [Closed] (GROOVY-8225) Groovy support for JSR 308/JEP 104 (Annotations in more places)

     [ https://issues.apache.org/jira/browse/GROOVY-8225?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul King closed GROOVY-8225.
-----------------------------
    Fix Version/s: 4.0.0-rc-3
         Assignee: Paul King
       Resolution: Fixed

We should create new more fine-grained issues for any lacking functionality as the main functionality is in place now.

> Groovy support for JSR 308/JEP 104 (Annotations in more places)
> ---------------------------------------------------------------
>
>                 Key: GROOVY-8225
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8225
>             Project: Groovy
>          Issue Type: New Feature
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>             Fix For: 4.0.0-rc-3
>
>
> Now that master is on JDK 8, we should look at supporting annotations in more places (i.e. JSR 308 or some subset thereof).
> It will require some plugin tweaking for configuring annotation nodes and also some grammar changes. For the backport in
> particular, we'll need to decide whether we don't backport the relevant grammar changes or allow them in the grammar
> but gracefully handle them with appropriate error messages. My initial gut feel is we should allow them in the grammar but
> we can make that call after further investigation.
> Some other decisions that might arise.
> * Do we support just a subset of the JSR?
> * Currently we allow the type placeholder '{{def}}' to be elided if an annotation takes its place. Does this convention need to change with the additional annotation positions or do we need to clarify what happens in different scenarios?



--
This message was sent by Atlassian Jira
(v8.20.1#820001)