Hi, if you annotate you class with an annotation with local name “Generated” (any package) which has CLASS or RUNTIME visibility JaCoCo will filter this method.
Regards, -marc > On 13. Nov 2019, at 12:30, [email protected] wrote: > > > public class Something > { > @ExcludeFromCodeCoverage // Some annotation to exclude the code coverage > computation for this method. > public void someMethod() {} > } > Anyone knows about it ? How to exclude the code coverage computation for the > specifi methods? > > -- > 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] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/a9dd8e83-4482-475b-882f-17df5eb578d7%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/a9dd8e83-4482-475b-882f-17df5eb578d7%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/6D311F88-D75D-49E1-9FF5-B106AEE9A1AC%40mountainminds.com.
