public class ArithmeticMutationOperation extends AbstractMutatingAssignmentExpression
Constructor and Description |
---|
ArithmeticMutationOperation(BytecodeLoc loc,
LValue mutated,
Expression mutation,
ArithOp op) |
canThrow, isValidStatement
addLoc, canPushDownInto, dump, dumpWithOuterPrecedence, getComputedLiteral, getInferredJavaType, getLoc, isSimple, outerDeepClone, pushDown, toString, visit
public ArithmeticMutationOperation(BytecodeLoc loc, LValue mutated, Expression mutation, ArithOp op)
public BytecodeLoc getCombinedLoc()
public Expression deepClone(CloneHelper cloneHelper)
public void collectTypeUsages(TypeUsageCollector collector)
collectTypeUsages
in interface TypeUsageCollectable
collectTypeUsages
in class AbstractExpression
public Precedence getPrecedence()
getPrecedence
in interface DumpableWithPrecedence
getPrecedence
in class AbstractExpression
public Dumper dumpInner(Dumper d)
dumpInner
in class AbstractExpression
public Expression replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer)
public Expression applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
public Expression applyReverseExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags)
public boolean isSelfMutatingOp1(LValue lValue, ArithOp arithOp)
isSelfMutatingOp1
in class AbstractAssignmentExpression
public LValue getUpdatedLValue()
getUpdatedLValue
in class AbstractAssignmentExpression
public ArithOp getOp()
public Expression getMutation()
public ArithmeticPostMutationOperation getPostMutation()
getPostMutation
in class AbstractAssignmentExpression
public ArithmeticPreMutationOperation getPreMutation()
getPreMutation
in class AbstractAssignmentExpression
public void collectUsedLValues(LValueUsageCollector lValueUsageCollector)
public boolean equals(Object o)
equals
in class AbstractExpression
public final boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
Copyright © 2011-2021. All Rights Reserved.