use of org.candle.decompiler.intermediate.expression.Switch in project candle-decompiler by bradsdavis.
the class MethodIntermediateVisitor method handleSwitch.
public void handleSwitch() {
Expression switchVal = context.getExpressions().pop();
Switch switchExpression = new Switch(context.getCurrentInstruction(), switchVal);
MultiBranchIntermediate mbi = new MultiBranchIntermediate(context.getCurrentInstruction(), switchExpression);
context.pushIntermediateToInstruction(mbi);
}
Aggregations