Reports switch statements, which can be replaced with an enhanced switch statement or expression.

This inspection only reports if the language level of the project or module is 14 or higher

New in 2019.1