Filter Find Popup By Jar

I wanted to see what subclasses of Exception were created in a library I was using.
I went to the Exception class and clicked the button to show subclasses and it came up with a list of over 2000.

Unsurprisingly, nearly all of these are in jars that I am not interested in.

Is there anyway to filter this popup result by jar or by library?

2 comments
Comment actions Permalink

I do not believe there is a way to do such in that pop-up. As an alternative, you can place the cursor on the class name, and use the "Find Usages" action (Alt+F7). Set the options to find derived classes. You can set a scope to limit what is search (such as just the project classes, or a custom one.) Additionally, in the results window, you can group by module and or package. That should help you narrow things down a bit. (Grouping by module will create a group for each group library jar if library jars were in your search scope.)

Hope that helps.
-Mark

0
Comment actions Permalink

Solution is to create custom scope which will cover packages from your jar and when find usages of Exception class within that scope.

regards, Alex

0

Please sign in to leave a comment.