Class CompoundStatement
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.CompoundStatement
- All Implemented Interfaces:
HasByteCodeLoc, DeepCloneable<Statement>, Statement, ComparableUnderEC, Dumpable
This should not be used to aggregate statements, but only to produce statements when multiple statements
are generated by a single opcode. (eg dup).
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) voidcollectLValueUsage(LValueUsageCollector lValueUsageCollector) deepClone(CloneHelper cloneHelper) final booleanequivalentUnder(Object o, EquivalenceConstraint constraint) booleanvoidreplaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) voidrewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
-
Field Details
-
statements
-
-
Constructor Details
-
CompoundStatement
-
-
Method Details
-
getCombinedLoc
-
dump
-
collectLValueAssignments
- Specified by:
collectLValueAssignmentsin interfaceStatement- Overrides:
collectLValueAssignmentsin classAbstractStatement
-
deepClone
-
getCreatedLValue
- Specified by:
getCreatedLValuein interfaceStatement- Overrides:
getCreatedLValuein classAbstractStatement
-
collectLValueUsage
-
getRValue
- Specified by:
getRValuein interfaceStatement- Overrides:
getRValuein classAbstractStatement
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
isCompound
public boolean isCompound()- Specified by:
isCompoundin interfaceStatement- Overrides:
isCompoundin classAbstractStatement
-
getCompoundParts
- Specified by:
getCompoundPartsin interfaceStatement- Overrides:
getCompoundPartsin classAbstractStatement
-
getStructuredStatement
-
equivalentUnder
-