Class LValueAssignmentAndAliasCondenser.MutationRewriterFirstPass
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.utils.LValueAssignmentAndAliasCondenser.MutationRewriterFirstPass
- All Implemented Interfaces:
LValueRewriter<Statement>
- Enclosing class:
LValueAssignmentAndAliasCondenser
public class LValueAssignmentAndAliasCondenser.MutationRewriterFirstPass
extends Object
implements LValueRewriter<Statement>
-
Nested Class Summary
Nested classes/interfaces inherited from interface LValueRewriter
LValueRewriter.Util -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<LValueAssignmentAndAliasCondenser.VersionedLValue, Set<StatementContainer>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPostConditions(LValue lValue, Expression rValue) booleanexplicitlyReplaceThisLValue(LValue lValue) getLValueReplacement(LValue lValue, SSAIdentifiers<LValue> ssaIdentifiers, StatementContainer<Statement> statementContainer) private StatementContainergetUniqueParent(StatementContainer start, Set<StatementContainer> seen) getWithFixed(Set fixed) keepConstant(Collection<LValue> usedLValues) booleanneedLR()
-
Field Details
-
mutableUseFound
private final Map<LValueAssignmentAndAliasCondenser.VersionedLValue, Set<StatementContainer>> mutableUseFound
-
-
Constructor Details
-
MutationRewriterFirstPass
public MutationRewriterFirstPass()
-
-
Method Details
-
getLValueReplacement
public Expression getLValueReplacement(LValue lValue, SSAIdentifiers<LValue> ssaIdentifiers, StatementContainer<Statement> statementContainer) - Specified by:
getLValueReplacementin interfaceLValueRewriter<Statement>
-
needLR
public boolean needLR()- Specified by:
needLRin interfaceLValueRewriter<Statement>
-
keepConstant
- Specified by:
keepConstantin interfaceLValueRewriter<Statement>
-
getWithFixed
- Specified by:
getWithFixedin interfaceLValueRewriter<Statement>
-
explicitlyReplaceThisLValue
- Specified by:
explicitlyReplaceThisLValuein interfaceLValueRewriter<Statement>
-
checkPostConditions
- Specified by:
checkPostConditionsin interfaceLValueRewriter<Statement>
-
getUniqueParent
-
getSecondPassRewriter
-