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

Enumeration and Iterator, Which One Has Better Performance in Jav ...

What is the Difference Between an ArrayList and a LinkedList Data ...

Why Do We Use Nested Classes in Java ?

What is a Directive in JSP ?

What is XMLBeanFactory in Spring Framework ?