Reputation: 9878
Is there any way to find out in which a dependency a particular class is defined in IDEA?
Upvotes: 1
Views: 206
Reputation: 22041
You can use usually step into the unknown file and see (at least partially) its' code. If you press Alt + F1 the project manager tab will be scrolled to the file in it's original jar.
See for example what happens if I do it for some Jetty class
Upvotes: 3
Reputation: 328724
Not in IDEA but on the Internet: Use fc:
+ fully qualified name on http://search.maven.org/
For example: fc:org.apache.commons.lang3.StringUtils
http://search.maven.org/#search%7Cga%7C1%7Cfc%3Aorg.apache.commons.lang3.StringUtils
Upvotes: 1