blob: f5b62d541bf834a665a8ef8af5b0af5055eb40c1 [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 Java 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>
Use the third checkbox below to only suggest switch statements which can't introduce a <b>NullPointerException</b>
<p>
</body>
</html>