Finding a file contained within a bunch of tar files without opening any

So I was debugging some code the other day and I quickly found myself in a situation where I had to look for a class file that was located in one of the many millions of jar files that are there in my maven cache. My immediate reaction was

“Ugh, this is going to be loads of effort and is going to take ages!”.