> I have been told that IntelliJ IDEA can detect unused public methods.
> However I can't find such a feature from Analyzer -> Inspect Code.

Signature
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
>> I have been told that IntelliJ IDEA can detect unused public methods.
>> However I can't find such a feature from Analyzer -> Inspect Code.
> Have you tried "unused declaration"? (I'm using the 6 Beta FWIW) I
> don't know that it detects unused *public* methods, though.
Is it in the "Declaration redundancy" category? I don't have it there,
maybe I should try beta 6.
There is "Declaration access can be weaker" which reports when public
methods could be package local, protected or private, but not when they
could be removed completely.
Aleksi Kallio - 15 Aug 2006 12:45 GMT
>> Have you tried "unused declaration"? (I'm using the 6 Beta FWIW) I
>> don't know that it detects unused *public* methods, though.
> Is it in the "Declaration redundancy" category? I don't have it there,
> maybe I should try beta 6.
Oh, it was under "General". It did the trick, thanks for your help!
It's strange how such a useful tool as this is so hard to find...