I want to know that if there is any easy to use tool, for Java, to perform following operations -
- A tool that can tell me what classes are never been called anywhere in the project?
- If some classes are calling each other but it is not part of project.
Patternclass will create aMatcherobject upon request (calls the constructor), but isn't commonly used for (most) apps. Your list is likely to end up being too long, if that's what you're looking for. Also, the standard compiler will generate warnings forimportreferences that aren't being 'used' (and methods/variables too, although not necessarily classes).