[ 
https://issues.apache.org/jira/browse/GROOVY-10855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17638361#comment-17638361
 ] 

Eric Milles edited comment on GROOVY-10855 at 11/24/22 4:54 PM:
----------------------------------------------------------------

Also, for generator annotations like {{@ToStirng}} and {{@EqualsAndHashCode}}, 
is there any need to retain beyond {{SOURCE}} (they're currently set to 
{{RUNTIME}})?  {{@TupleConstructor}} is set to {{SOURCE}}, which is preferred 
IMO.


was (Author: emilles):
Also, for generator annotations like {{@ToStirng}} and {{@EqualsAndHashCode}}, 
is there any need to retain beyond {{SOURCE}} (they're currently set to 
{{RUNTIME}})?

> Meta-annotation retention policy and target
> -------------------------------------------
>
>                 Key: GROOVY-10855
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10855
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Eric Milles
>            Priority: Minor
>
> Groovy collector annotations {{@Canonical}}, {{@Immutable}}, {{@RecordType}} 
> and {{@CompileDynamic}} have missing or misleading {{Retention}} and 
> {{Target}} metadata.  _Note:_ there may be others...
> {{@Canonical}} and {{@CompileDynamic}}: missing {{Retention}} and {{Target}}
> {{@Immutable}} and {{@RecordType}}: {{RetentionPolicy}} is {{RUNTIME}} but 
> should be {{SOURCE}} since meta-annotation is not retained.



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

Reply via email to