use of org.candle.decompiler.ast.swtch.SwitchCaseBlock in project candle-decompiler by bradsdavis.
the class BlockVisitor method visitCaseIntermediate.
@Override
public void visitCaseIntermediate(CaseIntermediate line) {
SwitchCaseBlock switchCaseBlock = new SwitchCaseBlock(line);
current.addChild(switchCaseBlock);
current = switchCaseBlock;
// now, visit the successor, if any.
List<AbstractIntermediate> candidates = getUnseenSuccessors(line);
if (candidates.size() > 0) {
for (AbstractIntermediate candidate : candidates) {
// move to the next.
candidate.accept(this);
}
}
}
Aggregations