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, wantsLifetimeHint
public AssignmentSimple(BytecodeLoc loc, LValue lvalue, Expression rvalue)
public BytecodeLoc getCombinedLoc()
public Statement deepClone(CloneHelper cloneHelper)
public void collectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector)
collectLValueAssignments
in interface Statement
collectLValueAssignments
in class AbstractStatement
public boolean doesBlackListLValueReplacement(LValue lValue, Expression expression)
doesBlackListLValueReplacement
in interface Statement
doesBlackListLValueReplacement
in class AbstractStatement
public void collectLValueUsage(LValueUsageCollector lValueUsageCollector)
public void collectObjectCreation(CreationCollector creationCollector)
collectObjectCreation
in interface Statement
collectObjectCreation
in class AbstractStatement
public SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue,?> ssaIdentifierFactory)
collectLocallyMutatedVariables
in interface Statement
collectLocallyMutatedVariables
in class AbstractStatement
public LValue getCreatedLValue()
getCreatedLValue
in interface Statement
getCreatedLValue
in class AbstractStatement
public Expression getRValue()
getRValue
in interface Statement
getRValue
in class AbstractStatement
public void setRValue(Expression rvalue)
public boolean isSelfMutatingOperation()
isSelfMutatingOperation
in class AbstractAssignment
public boolean isSelfMutatingOp1(LValue lValue, ArithOp arithOp)
isSelfMutatingOp1
in class AbstractAssignment
public Expression getPostMutation()
getPostMutation
in class AbstractAssignment
public Expression getPreMutation()
getPreMutation
in class AbstractAssignment
public AbstractAssignmentExpression getInliningExpression()
getInliningExpression
in class AbstractAssignment
public void replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers)
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers)
public StructuredStatement getStructuredStatement()
public boolean canThrow(ExceptionCheck caught)
canThrow
in interface Statement
canThrow
in class AbstractStatement
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.