Inspectopedia Help

Cyclic class dependency

Reports classes that are mutually or cyclically dependent on other classes.

Such cyclic dependencies make code fragile and hard to maintain.

Available only from Code | Inspect Code or Code | Analyze Code | Run Inspection by Name and isn't reported in the editor.

Inspection options

Option

Type

Default

Ignore cycles between classes located in the same file

Checkbox

false

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023