public class AssignmentPreMutation extends AbstractAssignment
| Modifier and Type | Field and Description |
|---|---|
private LValue |
lvalue |
private AbstractAssignmentExpression |
rvalue |
| Modifier | Constructor and Description |
|---|---|
private |
AssignmentPreMutation(BytecodeLoc loc,
LValue lvalue,
AbstractAssignmentExpression rvalue) |
|
AssignmentPreMutation(BytecodeLoc loc,
LValue lvalue,
AbstractMutatingAssignmentExpression rvalue) |
addLoc, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHintprivate LValue lvalue
private AbstractAssignmentExpression rvalue
public AssignmentPreMutation(BytecodeLoc loc, LValue lvalue, AbstractMutatingAssignmentExpression rvalue)
private AssignmentPreMutation(BytecodeLoc loc, LValue lvalue, AbstractAssignmentExpression rvalue)
public Statement deepClone(CloneHelper cloneHelper)
public BytecodeLoc getCombinedLoc()
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments in interface StatementcollectLValueAssignments in class AbstractStatementpublic void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public void collectObjectCreation(CreationCollector creationCollector)
collectObjectCreation in interface StatementcollectObjectCreation in class AbstractStatementpublic SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue,?> ssaIdentifierFactory)
collectLocallyMutatedVariables in interface StatementcollectLocallyMutatedVariables in class AbstractStatementpublic LValue getCreatedLValue()
getCreatedLValue in interface StatementgetCreatedLValue in class AbstractStatementpublic Expression getRValue()
getRValue in interface StatementgetRValue in class AbstractStatementpublic boolean isSelfMutatingOperation()
isSelfMutatingOperation in class AbstractAssignmentpublic boolean isSelfMutatingOp1(LValue lValue, ArithOp arithOp)
isSelfMutatingOp1 in class AbstractAssignmentpublic Expression getPostMutation()
getPostMutation in class AbstractAssignmentpublic Expression getPreMutation()
getPreMutation in class AbstractAssignmentpublic AbstractAssignmentExpression getInliningExpression()
getInliningExpression in class AbstractAssignmentpublic void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public StructuredStatement getStructuredStatement()
public boolean canThrow(ExceptionCheck caught)
canThrow in interface StatementcanThrow in class AbstractStatementpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic final boolean equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint)