groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul King (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (GROOVY-8765) Annotate generated methods with @Generated
Date Tue, 02 Oct 2018 23:43:00 GMT

     [ 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)

Mime
View raw message