blob: f94bc8ab5f858a8a449faef2ff1a748b0a4c019a [file] [log] [blame]
<html>
<body>
Reports any <b>if</b> statements with which can be replaced
by a <b>switch</b> statement. This inspection will automatically suggest string
switches when the project language level is jdk 1.7 or higher.
<!-- tooltip end -->
<p>
Use the text field below to indicate the minimum
number of <b>case</b> branches the resulting <b>switch</b> statement should have.
<p>
Use the first checkbox below to have this inspection suggest <b>switch</b> statements on
primitive and boxed numbers and characters.
<p>
Use the second checkbox below to have this inspection suggest switch statements on
enum constants.
<p>
<small>New in 10.5, Powered by InspectionGadgets</small>
</body>
</html>