Method with too many parameters
Reports methods with too many parameters. Method with too many parameters is a good sign that refactoring is necessary. Methods whose signatures are inherited from library classes are ignored by this inspection.
Use the Maximum number of parameters: field to specify the maximum acceptable number of parameters a method might have.
Inspection options
Option | Type | Default |
---|---|---|
Maximum number of parameters | Number | 5 |
Inspection Details | |
---|---|
Available in: | IntelliJ IDEA 2023.3, Qodana for JVM 2023.3 |
Plugin: | Groovy, 233.SNAPSHOT |
Last modified: 13 July 2023