AnnotationCollectorTransform creates a method not marked with Generated

2020-10-08 Thread Damir Murat
AnnotationCollectorTransform generates an inner helper class CollectorHelper with a method value(). Since it is not marked with @Generated, the value() method pops up in the JaCoCo coverage report. Is it possible to mark the value() method, or whole inner helper class, with @Generated? Tnx, Da

Re: AnnotationCollectorTransform creates a method not marked with Generated

2020-10-08 Thread Paul King
That seems a reasonable suggestion to me. The constructor and some of the methods of the helper class are already marked with @Generated but I see no reason not to mark the class. Please create an issue (and PR if you like). It might actually be a good candidate to mark also as POJO but let's keep

Re: AnnotationCollectorTransform creates a method not marked with Generated

2020-10-08 Thread Damir Murat
Here is reported issue: https://issues.apache.org/jira/browse/GROOVY-9772 Tnx, Damir On 8 Oct 2020, 14:40 +0200, Paul King , wrote: > That seems a reasonable suggestion to me. The constructor and some of the > methods of the helper class are already marked with @Generated but I see no > reason n