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

How Can Be Read Data From a Form in a JSP ?

What are the Thread-safe Classes in Java Collections Framework ?

How Will You Use Other Java Files of Your Application in JSP Code ...

What is the Main Benefit of IOC Principle in Java ?

Why an Object Used as Key in HashMap Should Be Immutable in Java ...