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 2018/10/02 23:43:00 UTC

[jira] [Resolved] (GROOVY-8765) Annotate generated methods with @Generated

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

Paul King resolved GROOVY-8765.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.3
                   3.0.0-alpha-4

Thanks.

> Annotate generated methods with @Generated
> ------------------------------------------
>
>                 Key: GROOVY-8765
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8765
>             Project: Groovy
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 3.0.0-alpha-3, 2.5.2
>            Reporter: Andres Almiray
>            Assignee: Andres Almiray
>            Priority: Major
>             Fix For: 3.0.0-alpha-4, 2.5.3
>
>
> The `@Generated` annotation was added a couple of releases ago to indicate that a method/class was generated by the compiler (most likely via AST transformations). This annotation is already applied to methods defined by `GroovyObject` however it has yet to be applied to many of the generated methods added by core AST transformations.
>  
> See the following links for more context
> [https://github.com/apache/groovy/pull/617#issuecomment-336249772]
> [https://github.com/jacoco/jacoco/pull/733]
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)