public class AssignmentSimple extends AbstractAssignment
| Constructor and Description |
|---|
AssignmentSimple(BytecodeLoc loc,
LValue lvalue,
Expression rvalue) |
addLoc, fallsToNext, getCompoundParts, getContainer, getLoc, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHintpublic AssignmentSimple(BytecodeLoc loc, LValue lvalue, Expression rvalue)
public BytecodeLoc getCombinedLoc()
public Statement deepClone(CloneHelper cloneHelper)
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments in interface StatementcollectLValueAssignments in class AbstractStatementpublic boolean doesBlackListLValueReplacement(LValue lValue, Expression expression)
doesBlackListLValueReplacement in interface StatementdoesBlackListLValueReplacement 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 void setRValue(Expression rvalue)
public 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.