public class CaseStatement extends AbstractStatement
Constructor and Description |
---|
CaseStatement(BytecodeLoc loc,
List<Expression> values,
InferredJavaType caseType,
BlockIdentifier switchBlock,
BlockIdentifier caseBlock) |
Modifier and Type | Method and Description |
---|---|
boolean |
canThrow(ExceptionCheck caught) |
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
Statement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equivalentUnder(Object o,
EquivalenceConstraint constraint) |
BlockIdentifier |
getCaseBlock() |
BytecodeLoc |
getCombinedLoc() |
StructuredStatement |
getStructuredStatement() |
BlockIdentifier |
getSwitchBlock() |
List<Expression> |
getValues() |
boolean |
isDefault() |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
addLoc, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
public CaseStatement(BytecodeLoc loc, List<Expression> values, InferredJavaType caseType, BlockIdentifier switchBlock, BlockIdentifier caseBlock)
public BytecodeLoc getCombinedLoc()
public Statement deepClone(CloneHelper cloneHelper)
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public BlockIdentifier getSwitchBlock()
public boolean isDefault()
public StructuredStatement getStructuredStatement()
public BlockIdentifier getCaseBlock()
public List<Expression> getValues()
public boolean canThrow(ExceptionCheck caught)
canThrow
in interface Statement
canThrow
in class AbstractStatement
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.