Viewing Class Dependencies

From an open JAR file, you can select multiple files, or entire package folders to see which files found in that particular JAR are dependent on the ones selected.

Viewing class dependencies helps give you a better idea of what dependency relationships exist in your JAR, and can help you determine which ones can be eliminated for optimization.

Note: JarMaster does not display circular dependencies. If two classes are dependent on each other, one level of that relationship will be displayed.

To view dependencies:

  1. Open or highlight the desired JAR.

  2. Expand your JAR content listing and select all files whose dependencies you want to see. (Use CTRL or SHIFT-clicking for multiple selections).

    You can select individual classes, or entire package folders. Selecting a package folder includes all classes found in the folder.

  3. Click View, then Dependencies.

  4. In a separate window, JarMaster displays the dependencies.

    Initially, the selected classes are displayed. Expand the nodes in the package hierarchies to see the dependent classes. If the class has no dependencies, it is simply displayed as is, without child folders.