public class SwitchStatement extends AbstractStatement
| Modifier and Type | Method and Description |
|---|---|
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
Statement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equivalentUnder(Object o,
EquivalenceConstraint constraint) |
boolean |
fallsToNext() |
BytecodeLoc |
getCombinedLoc() |
StructuredStatement |
getStructuredStatement() |
BlockIdentifier |
getSwitchBlock() |
Expression |
getSwitchOn() |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
setLifetimeHint(LValue lv,
boolean usedInChildren) |
void |
setSwitchOn(Expression switchOn) |
Set<LValue> |
wantsLifetimeHint() |
addLoc, canThrow, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, toStringpublic 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 StructuredStatement getStructuredStatement()
public Expression getSwitchOn()
public void setSwitchOn(Expression switchOn)
public BlockIdentifier getSwitchBlock()
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
public boolean fallsToNext()
fallsToNext in interface StatementfallsToNext in class AbstractStatementpublic Set<LValue> wantsLifetimeHint()
wantsLifetimeHint in interface StatementwantsLifetimeHint in class AbstractStatementpublic void setLifetimeHint(LValue lv, boolean usedInChildren)
setLifetimeHint in interface StatementsetLifetimeHint in class AbstractStatementCopyright © 2011-2021. All Rights Reserved.