Is there a way to search for which Java/JVM package contains a specific class?
Say I want a class called "com.mysql.cj.jdbc.Driver" but I don't know what Gradle or Maven dependency contains it. Is there a place I can just type in the full class name and get results on what publicly available JVM packages contain it? Googling a lot these class names don't return much useful information on where I can go to import it into my project.
Welp... nominally, Maven Central's search supports this, via fc: or fullclassname: prefix, e.g. you'd go to https://central.sonatype.com and type fc:com.mysql.cj.jdbc.Driver. But it works like dogsh¡t. You'll get 300 pages of results, sorted by criteria far beyond mortal ken. A site called findjar.com used to exist, that did a somewhat better job, but is now defunct. I'm pretty sure IntelliJ can perform this sort of search more or less successfully if you let it index your repositories (which takes a geologic era). All in all... it's bleak.