Jakub, it's been a while. I just bumped into your question and I thought that I'd might share an experiment of mine: https://github.com/sundrio/sundrio/tree/main/examples/continuous-testing-example
To give you some context. Sundrio is a code generation and manipulation framework. Recently, it's ability to model java code got to a level, that I thought that it would be fun to use it in order to perform impact analysis. And here we are. It's experimental, so no promises it will fit your needs.
If you or anyone else wants to take it for a ride, I'll gladly accept feedback and improve it.