This inspection reports any if statements with which can be replaced by a switch statement. This inspection will automatically suggest string switches when the project language level is jdk 1.7 or higher.

Use the text field below to indicate the minimum number of case branches the resulting switch statement should have.

New in 10.5, Powered by InspectionGadgets