groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadimo (JIRA)" <>
Subject [jira] [Created] (GROOVY-9053) Missing @Generated annotation in @Vetoable
Date Thu, 21 Mar 2019 20:29:00 GMT
Vadimo created GROOVY-9053:

             Summary: Missing @Generated annotation in @Vetoable
                 Key: GROOVY-9053
             Project: Groovy
          Issue Type: Bug
          Components: Compiler
    Affects Versions: 2.5.6
            Reporter: Vadimo

jacoco is reporting incorrect code coverage results for @Bindable annotated classes. 

The generated 
* set*
* firePropertyChange
* removePropertyChangeListener, 
* addPropertyChangeListener
* getPropertyChangeListener

methods should probably be annotated with @Generated

In the examples below 11 methods that are detected as not covered.
 class Person {
    String firstName

    def zipCode

This bug was found during Hackergarten Zürich 

This message was sent by Atlassian JIRA

View raw message