public class UnstructuredCase extends AbstractUnStructuredStatement
Modifier and Type | Field and Description |
---|---|
private BlockIdentifier |
blockIdentifier |
private InferredJavaType |
caseType |
private java.util.List<Expression> |
values |
Constructor and Description |
---|
UnstructuredCase(java.util.List<Expression> values,
InferredJavaType caseType,
BlockIdentifier blockIdentifier) |
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() |
(package private) StructuredStatement |
getEmptyStructuredCase() |
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 final java.util.List<Expression> values
private final BlockIdentifier blockIdentifier
private final InferredJavaType caseType
public UnstructuredCase(java.util.List<Expression> values, InferredJavaType caseType, BlockIdentifier blockIdentifier)
public BytecodeLoc getCombinedLoc()
public void collectTypeUsages(TypeUsageCollector collector)
StructuredStatement getEmptyStructuredCase()
public StructuredStatement claimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)
claimBlock
in interface StructuredStatement
claimBlock
in class AbstractStructuredStatement