Class ForIterStatement
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
-
- org.benf.cfr.reader.bytecode.analysis.parse.statement.ForIterStatement
-
- All Implemented Interfaces:
HasByteCodeLoc
,DeepCloneable<Statement>
,Statement
,ComparableUnderEC
,Dumpable
public class ForIterStatement extends AbstractStatement
-
-
Field Summary
Fields Modifier and Type Field Description private BlockIdentifier
blockIdentifier
private LValue
hiddenList
private LValue
iterator
private Expression
list
-
Constructor Summary
Constructors Constructor Description ForIterStatement(BytecodeLoc loc, BlockIdentifier blockIdentifier, LValue iterator, Expression list, LValue hiddenList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectLValueUsage(LValueUsageCollector lValueUsageCollector)
Statement
deepClone(CloneHelper cloneHelper)
Dumper
dump(Dumper dumper)
boolean
equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)
BlockIdentifier
getBlockIdentifier()
BytecodeLoc
getCombinedLoc()
LValue
getCreatedLValue()
LValue
getHiddenList()
Expression
getList()
StructuredStatement
getStructuredStatement()
void
replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
void
rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, canThrow, collectLocallyMutatedVariables, collectLValueAssignments, collectObjectCreation, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
-
-
-
Field Detail
-
blockIdentifier
private BlockIdentifier blockIdentifier
-
iterator
private LValue iterator
-
list
private Expression list
-
hiddenList
private LValue hiddenList
-
-
Constructor Detail
-
ForIterStatement
public ForIterStatement(BytecodeLoc loc, BlockIdentifier blockIdentifier, LValue iterator, Expression list, LValue hiddenList)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
getCreatedLValue
public LValue getCreatedLValue()
- Specified by:
getCreatedLValue
in interfaceStatement
- Overrides:
getCreatedLValue
in classAbstractStatement
-
getList
public Expression getList()
-
getHiddenList
public LValue getHiddenList()
-
deepClone
public Statement deepClone(CloneHelper cloneHelper)
-
replaceSingleUsageLValues
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
-
collectLValueUsage
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
-
getStructuredStatement
public StructuredStatement getStructuredStatement()
-
getBlockIdentifier
public BlockIdentifier getBlockIdentifier()
-
equivalentUnder
public final boolean equivalentUnder(java.lang.Object o, EquivalenceConstraint constraint)
-
-