public class AssignmentPreMutation extends AbstractAssignment
| Constructor and Description |
|---|
AssignmentPreMutation(BytecodeLoc loc,
LValue lvalue,
AbstractMutatingAssignmentExpression rvalue) |
addLoc, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getLoc, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHintpublic AssignmentPreMutation(BytecodeLoc loc, LValue lvalue, AbstractMutatingAssignmentExpression 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 final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.