public class WhileStatement extends AbstractStatement
Modifier and Type | Field and Description |
---|---|
private BlockIdentifier |
blockIdentifier |
private ConditionalExpression |
condition |
Constructor and Description |
---|
WhileStatement(BytecodeLoc loc,
ConditionalExpression conditionalExpression,
BlockIdentifier blockIdentifier) |
Modifier and Type | Method and Description |
---|---|
void |
collectLValueUsage(LValueUsageCollector lValueUsageCollector) |
Statement |
deepClone(CloneHelper cloneHelper) |
Dumper |
dump(Dumper dumper) |
boolean |
equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint) |
private int |
getBackJumpIndex() |
BlockIdentifier |
getBlockIdentifier() |
BytecodeLoc |
getCombinedLoc() |
ConditionalExpression |
getCondition() |
StructuredStatement |
getStructuredStatement() |
void |
replaceSingleUsageLValues(LValueRewriter lValueRewriter,
SSAIdentifiers ssaIdentifiers) |
void |
replaceWithForLoop(AssignmentSimple initial,
java.util.List<AbstractAssignmentExpression> assignment) |
void |
rewriteExpressions(ExpressionRewriter expressionRewriter,
SSAIdentifiers ssaIdentifiers) |
addLoc, canThrow, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
private ConditionalExpression condition
private BlockIdentifier blockIdentifier
public WhileStatement(BytecodeLoc loc, ConditionalExpression conditionalExpression, BlockIdentifier blockIdentifier)
public BytecodeLoc getCombinedLoc()
public Statement deepClone(CloneHelper cloneHelper)
private int getBackJumpIndex()
public void replaceWithForLoop(AssignmentSimple initial, java.util.List<AbstractAssignmentExpression> assignment)
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public StructuredStatement getStructuredStatement()
public BlockIdentifier getBlockIdentifier()
public ConditionalExpression getCondition()
public final boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)