My eclipse has 6 projects which are interdependent on each other(2 become jars other 4 are wars) actually its a jboss project where i have 4 portlets, now i want to detect all the stativ variables in a class(its basically a constants file) which are not used by any of the other ptoject
Is there any tool available in eclipse which can help me in achieving the same?
Option 1: Lean on the compiler
Assuming you have reasonable number of Constants in that file, Comment them, and fix all the compilation errors un-commenting the used ones.
This may be a better use of your time
Option 2: PMD for Eclipse.
Haven’t tried it myself for that particular purpose thou.