title: Convert Switch to if-else statement automatically
body: <p>I am developing a plug-in in <code>Eclipse</code> and I have to process the source code of a Java class to generate a <code>JSON</code> file. I use the Java <code>AST</code> framework to do the process of converting java code into <code>JSON</code> code.</p>
  
  <p>I am writing this question because I do not know if there is some external or internal tool of <code>Eclipse</code> that allows to convert <code>switch</code> into <code>if-else</code> statement. I want to do this conversion because I am capable of processing <code>if-else</code> statements, therefore, having the conversion desired I would process the <code>switch</code> statement as <code>if-else</code> statement.</p>
  
  <p>Any suggestion or idea is well received. Thanks in advance.</p>