Split statement in more lines
Extract switch statement into method