Hi all,

I'm using JaCoCo 0.8.8 on an Android project and have gotten distracted by 
the missing coverage on a few generated methods resulting from code like 
this:

```
override val viewModel: VM by viewModels { viewModelProviderFactory }
```

Which outputs methods like this: 
`MainFragment.special..inlined.viewModels.default.new Function0() {...}` 
with missing coverage.

I know I can ignore classes/directories/etc. via jacoco configuration, and 
I've tested out usage of an annotation with "Generated" in the name to 
ignore methods, but the `viewModel` value here is a val, so it does not get 
ignored correctly when annotated...

Any ideas?  Thank you.

-- 
Azért kapta ezt az üzenetet, mert feliratkozott a Google Csoportok 
szolgáltatásbeli Jenkins JaCoCo plugin mailing list csoportra.
Az erről a csoportról és az ahhoz kapcsolódó e-mailekről való leiratkozáshoz 
küldjön egy e-amailt a(z) 
[email protected] címre.
Ha szeretné megtekinteni ezt a beszélgetést az interneten, látogasson el ide: 
https://groups.google.com/d/msgid/jenkins-jacoco-plugin-mailing-list/113ae685-2565-4eee-beb5-23e595bb1417n%40googlegroups.com.

Reply via email to