Class AssignmentSimple
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractAssignment
org.benf.cfr.reader.bytecode.analysis.parse.statement.AssignmentSimple
- All Implemented Interfaces:
HasByteCodeLoc
,DeepCloneable<Statement>
,Statement
,ComparableUnderEC
,Dumpable
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
canThrow
(ExceptionCheck caught) collectLocallyMutatedVariables
(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) void
collectLValueAssignments
(LValueAssignmentCollector<Statement> lValueAssigmentCollector) void
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) void
collectObjectCreation
(CreationCollector creationCollector) deepClone
(CloneHelper cloneHelper) boolean
doesBlackListLValueReplacement
(LValue lValue, Expression expression) boolean
final boolean
equivalentUnder
(Object o, EquivalenceConstraint constraint) boolean
isSelfMutatingOp1
(LValue lValue, ArithOp arithOp) boolean
void
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) void
rewriteExpressions
(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) void
setRValue
(Expression rvalue) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, fallsToNext, getCompoundParts, getContainer, getLoc, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
Field Details
-
lvalue
-
rvalue
-
-
Constructor Details
-
AssignmentSimple
-
-
Method Details
-
dump
-
getCombinedLoc
-
deepClone
-
collectLValueAssignments
- Specified by:
collectLValueAssignments
in interfaceStatement
- Overrides:
collectLValueAssignments
in classAbstractStatement
-
doesBlackListLValueReplacement
- Specified by:
doesBlackListLValueReplacement
in interfaceStatement
- Overrides:
doesBlackListLValueReplacement
in classAbstractStatement
-
collectLValueUsage
-
collectObjectCreation
- Specified by:
collectObjectCreation
in interfaceStatement
- Overrides:
collectObjectCreation
in classAbstractStatement
-
collectLocallyMutatedVariables
public SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) - Specified by:
collectLocallyMutatedVariables
in interfaceStatement
- Overrides:
collectLocallyMutatedVariables
in classAbstractStatement
-
getCreatedLValue
- Specified by:
getCreatedLValue
in interfaceStatement
- Overrides:
getCreatedLValue
in classAbstractStatement
-
getRValue
- Specified by:
getRValue
in interfaceStatement
- Overrides:
getRValue
in classAbstractStatement
-
setRValue
-
isSelfMutatingOperation
public boolean isSelfMutatingOperation()- Specified by:
isSelfMutatingOperation
in classAbstractAssignment
-
isSelfMutatingOp1
- Specified by:
isSelfMutatingOp1
in classAbstractAssignment
-
getPostMutation
- Specified by:
getPostMutation
in classAbstractAssignment
-
getPreMutation
- Specified by:
getPreMutation
in classAbstractAssignment
-
getInliningExpression
- Specified by:
getInliningExpression
in classAbstractAssignment
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
getStructuredStatement
-
canThrow
- Specified by:
canThrow
in interfaceStatement
- Overrides:
canThrow
in classAbstractStatement
-
equals
-
equivalentUnder
-