Inspectopedia
 
2024.3

Inner class too deeply nested

Warning
New
Last modified: 03 December 2024

Reports classes whose number of nested inner classes exceeds the specified maximum.

Nesting inner classes inside other inner classes is confusing and indicates that a refactoring may be necessary.

Use the Nesting limit field to specify the maximum allowed nesting depth for a class.