This PR updates the switch statements from Java 11 and earlier, applying modern syntax to eliminate redundant break statements and enhance code readability by making it block-oriented.

Comment From: bclozel

This code belongs to our ASM fork, I'm not sure we should apply cosmetic changes there as it's likely to add conflicts when we upgrade.

Comment From: snicoll

Ah I had missed that. Yeah, in that case, I am in favor of closing this.