Labeled switch rule can have code block
Reports rules of
switch expressions or enhanced
switch statements with an expression body. These can be converted to code blocks.
After the quick-fix is applied:
The inspection only reports if the language level of the project or module is 14 or higher.
New in 2019.1
IntelliJ IDEA 2023.3, Qodana for JVM 2023.3