Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
4.0.15
-
None
Description
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.
Attachments
Issue Links
- is related to
-
GROOVY-10810 Spring Validator error when validating trait-added property
- Open
-
GROOVY-8897 Methods generated for Groovy properties do not carry over annotations
- Open
-
GROOVY-5011 @Override should be allowed (and verified) on properties that implement an interface
- Open