This intention replaces series of if-else statements with an equivalent switch statement.