Finding & Removing unused classes

Hi,

I have a fairly large project, and I want to remove all unused classes. I spent about an hour trying to use IntelliJ's code inspector (Analyze -> Inspect Code...) , and couldn't quite find what I need.


Please see the attached screenshots of my IntelliJ code inspection. I've searched the web, and most answers point to using either the "Declaration redundancy" options or the "Code style issues" option. Neither of those, as you may see from the screenshots, seem to address the use case of identifying unused *classes*.

Any ideas/thoughts? I'd appreciate any input.

Best,
-Derrick



Attachment(s):
Selection_006.png
Selection_005.png
1 comment
Comment actions Permalink

The inspection you need is called "Unused Declaration":

https://dl.dropboxusercontent.com/u/2752840/ShareXmod/2015-03/2015-03-29_17-22-32.png

0

Please sign in to leave a comment.