This work presents the development of an automatic refactoring tool for Java code built on top of the Eclipse JDT API.
The proposed approach transforms control structures containing break and continue statements within different types of loops into semantically
equivalent constructs that avoid their explicit use.
The goal is to produce a semantically equivalent code that is easier to refactor using the extract method refactoring operation.