Java
Anonymous class with too many methods
Warning
New
Last modified: 03 December 2024Reports anonymous inner classes whose method count exceeds the specified maximum.
Anonymous classes with numerous methods may be difficult to understand and should be promoted to become named inner classes.
- By ID
Can be used to locate inspection in e.g. Qodana configuration files, where you can quickly enable or disable it, or adjust its settings.
AnonymousInnerClassWithTooManyMethods
Use the Method count limit field to specify the maximum allowed number of methods in an anonymous inner class.
Here you can find the description of settings available for the Anonymous class with too many methods inspection, and the reference of their default values.
Inspection Details | |
---|---|
By default bundled with: | |
Can be installed with plugin: | Java, 243.23126 |
Thanks for your feedback!
Was this page helpful?