If statement with too many branches
if statements with too many branches. Such statements may be confusing, and are often the sign of inadequate levels of design abstraction.
Use the Maximum number of branches field to specify the maximum number of branches expected.
Maximum number of branches
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3