I am working on a big application. In that application there are many packages and each packages have many
java files.
I want to compile a single java file that has many dependants classes in application.I want to make a jar file of all the dependant classes.
How can i know how many dependant classes are there for java file???
For Example.
I have ClassA,ClassB,CLassC,ClassD,ClassE.
and all classes are in different packages.
ClassA has imported ClassB
ClassB has imported ClassC
ClassC has imported ClassD
ClassD has imported ClassE
now to compile class ClassA we require ClassB,ClassC,ClassD,ClassE.
Here we can can find all dependaent classes for ClassA because its a small example but in big application we can not search each references explicitly..
So please if anybody knows any tricks or any tools to find dependant classes please tell me..
Thanks in Advance