Hi Mark,

any annotation that contains “Generated” in its name will cause filtering of 
the respective method or class.

There is no specific annotation for manual tagging.

As Evgeny once proposed a possible hack is to define a annotation called 
“CoverageShouldNotBeGenerated” ;)

Cheers,
-marc



> On 23. Sep 2020, at 00:10, Mark Palmer <[email protected]> wrote:
> 
> 
> I saw some notes about the Generated annotation being used to suppress 
> coverage for generated code.
> 
> Are there annotations for suppressing non-generated code?  Or is the only 
> option exclude classes/methods from the report?
> 
> Thanks.
> 
> -Mark
> 
> 
> -- 
> 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/527559e2-2d87-4603-95f7-0901889ac621n%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jacoco/527559e2-2d87-4603-95f7-0901889ac621n%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/B1CFBB18-3E91-4E81-959F-1EA96D66DCD3%40mountainminds.com.

Reply via email to