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