IntelliJ IDEA 2020.3 Help

Cyclic dependencies

Cyclic dependencies analysis enables you to detect any circular relationships between the packages in the specified scope. Results of analysis display in a dedicated tab of the Dependency Viewer.

  1. From the main menu, select Analyze | Cyclic Dependencies.

  2. In the Specify Cyclic Dependency Analysis Scope dialog, select the scope of files that you want to analyze.

  3. Click OK to run the analysis. When ready, the Dependency viewer opens a special tab, enabling you to examine the dependencies.

In the left pane of the Dependency Viewer, select the node to be sought for. In the right pane select the scope to find usages of the selected node. The search results display in the lower pane of the tab.

Last modified: 08 March 2021