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 TypeMethodDescriptionbooleancanThrow(ExceptionCheck caught) collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) voidcollectLValueAssignments(LValueAssignmentCollector<Statement> lValueAssigmentCollector) voidcollectLValueUsage(LValueUsageCollector lValueUsageCollector) voidcollectObjectCreation(CreationCollector creationCollector) deepClone(CloneHelper cloneHelper) booleandoesBlackListLValueReplacement(LValue lValue, Expression expression) booleanfinal booleanequivalentUnder(Object o, EquivalenceConstraint constraint) booleanisSelfMutatingOp1(LValue lValue, ArithOp arithOp) booleanvoidreplaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) voidrewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) voidsetRValue(Expression rvalue) Methods inherited from class 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:
collectLValueAssignmentsin interfaceStatement- Overrides:
collectLValueAssignmentsin classAbstractStatement
-
doesBlackListLValueReplacement
- Specified by:
doesBlackListLValueReplacementin interfaceStatement- Overrides:
doesBlackListLValueReplacementin classAbstractStatement
-
collectLValueUsage
-
collectObjectCreation
- Specified by:
collectObjectCreationin interfaceStatement- Overrides:
collectObjectCreationin classAbstractStatement
-
collectLocallyMutatedVariables
public SSAIdentifiers<LValue> collectLocallyMutatedVariables(SSAIdentifierFactory<LValue, ?> ssaIdentifierFactory) - Specified by:
collectLocallyMutatedVariablesin interfaceStatement- Overrides:
collectLocallyMutatedVariablesin classAbstractStatement
-
getCreatedLValue
- Specified by:
getCreatedLValuein interfaceStatement- Overrides:
getCreatedLValuein classAbstractStatement
-
getRValue
- Specified by:
getRValuein interfaceStatement- Overrides:
getRValuein classAbstractStatement
-
setRValue
-
isSelfMutatingOperation
public boolean isSelfMutatingOperation()- Specified by:
isSelfMutatingOperationin classAbstractAssignment
-
isSelfMutatingOp1
- Specified by:
isSelfMutatingOp1in classAbstractAssignment
-
getPostMutation
- Specified by:
getPostMutationin classAbstractAssignment
-
getPreMutation
- Specified by:
getPreMutationin classAbstractAssignment
-
getInliningExpression
- Specified by:
getInliningExpressionin classAbstractAssignment
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
getStructuredStatement
-
canThrow
- Specified by:
canThrowin interfaceStatement- Overrides:
canThrowin classAbstractStatement
-
equals
-
equivalentUnder
-