Inspectopedia Help

Method with too many parameters

Reports methods whose number of parameters exceeds the specified maximum. Methods with too many parameters can be a good sign that a refactoring is necessary.

Methods that have super methods are not reported.

Use the Parameter limit field to specify the maximum allowed number of parameters for a method.

Inspection options

Option

Type

Default

Parameter limit

Number

5

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3

Plugin:

Java, 233.SNAPSHOT

Last modified: 13 July 2023