Class AbstractMutatingAssignmentExpression
- 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
-
- All Implemented Interfaces:
HasByteCodeLoc
,Expression
,DeepCloneable<Expression>
,ComparableUnderEC
,Dumpable
,DumpableWithPrecedence
,TypeUsageCollectable
- Direct Known Subclasses:
ArithmeticMutationOperation
,ArithmeticPostMutationOperation
,ArithmeticPreMutationOperation
public abstract class AbstractMutatingAssignmentExpression extends AbstractAssignmentExpression
-
-
Constructor Summary
Constructors Constructor Description AbstractMutatingAssignmentExpression(BytecodeLoc loc, InferredJavaType inferredJavaType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canThrow(ExceptionCheck caught)
boolean
isValidStatement()
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractAssignmentExpression
getPostMutation, getPreMutation, getUpdatedLValue, isSelfMutatingOp1
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.expression.AbstractExpression
addLoc, canPushDownInto, collectTypeUsages, dump, dumpInner, dumpWithOuterPrecedence, equals, getComputedLiteral, getInferredJavaType, getLoc, getPrecedence, isSimple, outerDeepClone, pushDown, toString, visit
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.rewriters.DeepCloneable
deepClone
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.parse.Expression
applyExpressionRewriter, applyReverseExpressionRewriter, collectUsedLValues, equivalentUnder, replaceSingleUsageLValues
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.loc.HasByteCodeLoc
getCombinedLoc
-
-
-
-
Constructor Detail
-
AbstractMutatingAssignmentExpression
AbstractMutatingAssignmentExpression(BytecodeLoc loc, InferredJavaType inferredJavaType)
-
-
Method Detail
-
canThrow
public boolean canThrow(ExceptionCheck caught)
- Specified by:
canThrow
in interfaceExpression
- Overrides:
canThrow
in classAbstractExpression
-
isValidStatement
public boolean isValidStatement()
- Specified by:
isValidStatement
in interfaceExpression
- Overrides:
isValidStatement
in classAbstractExpression
-
-