Class SwitchStatementHelper

java.lang.Object
org.somox.gast2seff.visitors.SwitchStatementHelper

public class SwitchStatementHelper extends Object
Computes for a SwitchStatement the case branches in a way that to the case branches, that do not end with break, the following case branch is added.
  • Constructor Details

    • SwitchStatementHelper

      public SwitchStatementHelper()
  • Method Details

    • createBlockListFromSwitchStatement

      public static List<List<org.emftext.language.java.statements.Statement>> createBlockListFromSwitchStatement(org.emftext.language.java.statements.Switch switchStatement)