Christopher Smith created GROOVY-11231:
------------------------------------------

             Summary: 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


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