Class ArithmeticPreMutationOperation
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractExpression
org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractAssignmentExpression
org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractMutatingAssignmentExpression
org.benf.cfr.reader.bytecode.analysis.parse.expression.ArithmeticPreMutationOperation
- All Implemented Interfaces:
HasByteCodeLoc, Expression, DeepCloneable<Expression>, ComparableUnderEC, Dumpable, DumpableWithPrecedence, TypeUsageCollectable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) applyReverseExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) voidcollectTypeUsages(TypeUsageCollector collector) voidcollectUsedLValues(LValueUsageCollector lValueUsageCollector) deepClone(CloneHelper cloneHelper) booleanfinal booleanequivalentUnder(Object o, EquivalenceConstraint constraint) booleanisSelfMutatingOp1(LValue lValue, ArithOp arithOp) replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) Methods inherited from class AbstractMutatingAssignmentExpression
canThrow, isValidStatementMethods inherited from class AbstractExpression
addLoc, canPushDownInto, dump, dumpWithOuterPrecedence, getComputedLiteral, getInferredJavaType, getLoc, isSimple, outerDeepClone, pushDown, toString, visit
-
Field Details
-
mutated
-
op
-
-
Constructor Details
-
ArithmeticPreMutationOperation
-
-
Method Details
-
deepClone
-
getCombinedLoc
-
collectTypeUsages
- Specified by:
collectTypeUsagesin interfaceTypeUsageCollectable- Overrides:
collectTypeUsagesin classAbstractExpression
-
dumpInner
- Specified by:
dumpInnerin classAbstractExpression
-
replaceSingleUsageLValues
public Expression replaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer) -
applyExpressionRewriter
public Expression applyExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) -
applyReverseExpressionRewriter
public Expression applyReverseExpressionRewriter(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers, StatementContainer statementContainer, ExpressionRewriterFlags flags) -
isSelfMutatingOp1
- Specified by:
isSelfMutatingOp1in classAbstractAssignmentExpression
-
getPrecedence
- Specified by:
getPrecedencein interfaceDumpableWithPrecedence- Specified by:
getPrecedencein classAbstractExpression
-
getPostMutation
- Specified by:
getPostMutationin classAbstractAssignmentExpression
-
getPreMutation
- Specified by:
getPreMutationin classAbstractAssignmentExpression
-
collectUsedLValues
-
getUpdatedLValue
- Specified by:
getUpdatedLValuein classAbstractAssignmentExpression
-
equals
- Specified by:
equalsin classAbstractExpression
-
equivalentUnder
-