public class UnstructuredSwitch extends AbstractUnStructuredStatement
Modifier and Type | Field and Description |
---|---|
private BlockIdentifier |
blockIdentifier |
private boolean |
safeExpression |
private Expression |
switchOn |
Constructor and Description |
---|
UnstructuredSwitch(BytecodeLoc loc,
Expression switchOn,
BlockIdentifier blockIdentifier,
boolean safeExpression) |
Modifier and Type | Method and Description |
---|---|
StructuredStatement |
claimBlock(Op04StructuredStatement innerBlock,
BlockIdentifier blockIdentifier,
java.util.Vector<BlockIdentifier> blocksCurrentlyIn) |
void |
collectTypeUsages(TypeUsageCollector collector) |
Dumper |
dump(Dumper dumper) |
BytecodeLoc |
getCombinedLoc() |
findCreatedHere, getBreakableBlockOrNull, isEffectivelyNOP, isProperlyStructured, isRecursivelyStructured, linearizeInto, match, rewriteExpressions, suggestName, traceLocalVariableScope, transformStructuredChildren, transformStructuredChildrenInReverse
addLoc, alwaysDefines, canDefine, canFall, fallsNopToNext, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isScopeBlock, markCreator, setContainer, supportsBreak, supportsContinueBreak, toString
private Expression switchOn
private final BlockIdentifier blockIdentifier
private boolean safeExpression
public UnstructuredSwitch(BytecodeLoc loc, Expression switchOn, BlockIdentifier blockIdentifier, boolean safeExpression)
public BytecodeLoc getCombinedLoc()
public void collectTypeUsages(TypeUsageCollector collector)
public StructuredStatement claimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)
claimBlock
in interface StructuredStatement
claimBlock
in class AbstractStructuredStatement