Reports
switch
statements which can be replaced with an enhanced
switch
statement or expression.
This inspection only applies to language level 14 or higher
New in 2019.1