I have a jar file. I want to know which external classes and methods is used by classes inside jar file. Can anyone suggest me any tool? For example
import java.util.Vector;
class MyJarClass{
public static void main(String args[]){
Vector v = new Vector();
AnotherClass another = new AnotherClass();
v.addElement("one");
another.doSomething();
}
}
class AnotherClass{
void doSomething(){
}
}
Above two classes are packaged into Myjar.jar
When I supply this jar to a tool, that tool should show java.util.Vector and Vector.adElements() are from external source (not present in MyJar.jar)
Forgot to mention, i dont have access to sourcecode o.