public class ArithmeticMutationOperation extends AbstractMutatingAssignmentExpression
| Modifier and Type | Field and Description |
|---|---|
private LValue |
mutated |
private Expression |
mutation |
private ArithOp |
op |
| Constructor and Description |
|---|
ArithmeticMutationOperation(BytecodeLoc loc,
LValue mutated,
Expression mutation,
ArithOp op) |
canThrow, isValidStatementaddLoc, canPushDownInto, dump, dumpWithOuterPrecedence, getComputedLiteral, getInferredJavaType, getLoc, isSimple, outerDeepClone, pushDown, toString, visitprivate LValue mutated
private final ArithOp op
private Expression mutation
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 TypeUsageCollectablecollectTypeUsages in class AbstractExpressionpublic Precedence getPrecedence()
getPrecedence in interface DumpableWithPrecedencegetPrecedence in class AbstractExpressionpublic Dumper dumpInner(Dumper d)
dumpInner in class AbstractExpressionpublic 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 AbstractAssignmentExpressionpublic LValue getUpdatedLValue()
getUpdatedLValue in class AbstractAssignmentExpressionpublic ArithOp getOp()
public Expression getMutation()
public ArithmeticPostMutationOperation getPostMutation()
getPostMutation in class AbstractAssignmentExpressionpublic ArithmeticPreMutationOperation getPreMutation()
getPreMutation in class AbstractAssignmentExpressionpublic void collectUsedLValues(LValueUsageCollector lValueUsageCollector)
public boolean equals(java.lang.Object o)
equals in class AbstractExpressionpublic final boolean equivalentUnder(java.lang.Object o,
EquivalenceConstraint constraint)