Good day. I have a tool, which besides other things generates equals and hashCode methods for classes (it's my own tool, which is not somehow related or dependent on lombok or similar stuff). And my intention is to make somehow these methods excluded from JaCoCo coverage reports. What options do I have in JaCoCo latest version?
Investigating opportunities on subj, described in https://github.com/jacoco/jacoco/wiki/FilteringOptions, I found out these potential ways of solving the problem: 1. Acceptable way for me would be to annotate equals and hashCode with some @ExcludeFromCodeCoverage and call it a day, but as I got it from https://github.com/jacoco/jacoco/issues/14, feature perspectives looks quite shady for me (or maybe I got it wrong?). 2. There is a dirty hacky way which works for me in 0.8.0 - to create a fake annotation lombok.Generated in the project and annotate equals/hashCode with it. But it is... well... dirty. ... Any other options? -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/cb99baa8-8ff2-43a9-ac88-0bb2383ea73b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
