Structure Continue Statement
- You have a jump inside a loop to a label immediately preceding the loop.
Replace the jump by a continue statement.
next: while(...) { ... goto next; ... }
⇓
while(...) { ... continue; ... }
Motivation
Continue statements are translated by compilers as simple jumps. This refactoring recovers the original statement. It requires that the refactoring corresponding to the loop structure is previously applied.
Mechanics
Replace the jump by a continue statement.
- Remove the label, if no longer used.