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

Eric Milles updated GROOVY-11231:
---------------------------------
    Labels: annotations  (was: )

> TupleConstructor could copy annotations to constructor
> ------------------------------------------------------
>
>                 Key: GROOVY-11231
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11231
>             Project: Groovy
>          Issue Type: Improvement
>    Affects Versions: 4.0.15
>            Reporter: Christopher Smith
>            Priority: Major
>              Labels: annotations
>
> There are a number of use cases where it is necessary or helpful to annotate 
> constructor arguments; two that I use frequently are injection qualifiers and 
> {{@JsonProperty}}.
> When {{@TupleConstructor}} creates a constructor for a property that carries 
> an annotation that also has a target of {{PARAMETER}}, I propose that it 
> should copy that annotation to the generated constructor parameter.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to