You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Andres Almiray (JIRA)" <ji...@apache.org> on 2018/08/26 19:24:00 UTC

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

Andres Almiray created GROOVY-8765:
--------------------------------------

             Summary: 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: 2.5.2, 3.0.0-alpha-3
            Reporter: Andres Almiray
            Assignee: Andres Almiray


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)