How Can We Analyze the Dependencies in Java Classes and Packages ?

Java 8 comes with a new command line tool jdeps that can help in analyzing the package-level and class-level dependencies.

We can pass a jar file name or a class name as an argument to this tool. It will list all the dependencies of that jar or class.



You May Interest

What is the Difference Between sendRedirect and forward in a JSP ...

What is the Difference Between pass by reference and pass by valu ...

How remove Method is Implemented in a HashMap in Java ?

How Will You Include a Static File in a JSP Page ?

What is the Importance of hashCode and equals Methods in Java ?