Class ConstructorStatement
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
org.benf.cfr.reader.bytecode.analysis.parse.statement.ConstructorStatement
- All Implemented Interfaces:
HasByteCodeLoc,DeepCloneable<Statement>,Statement,ComparableUnderEC,Dumpable
This is a temporary statement - it should be replaced with an Assignment of a ConstructorInvokation
However, it can force the type of the constructed object, which NEW is not capable of doing....
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructorStatement(BytecodeLoc loc, MemberFunctionInvokation construction) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectLValueUsage(LValueUsageCollector lValueUsageCollector) voidcollectObjectCreation(CreationCollector creationCollector) deepClone(CloneHelper cloneHelper) final booleanequivalentUnder(Object o, EquivalenceConstraint constraint) voidreplaceSingleUsageLValues(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) voidrewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.statement.AbstractStatement
addLoc, canThrow, collectLocallyMutatedVariables, collectLValueAssignments, doesBlackListLValueReplacement, fallsToNext, getCompoundParts, getContainer, getCreatedLValue, getLoc, getRValue, getTargetStatement, isCompound, outerDeepClone, setContainer, setLifetimeHint, toString, wantsLifetimeHint
-
Field Details
-
invokation
-
-
Constructor Details
-
ConstructorStatement
-
-
Method Details
-
dump
-
deepClone
-
getCombinedLoc
-
replaceSingleUsageLValues
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter, SSAIdentifiers ssaIdentifiers) -
collectLValueUsage
-
collectObjectCreation
- Specified by:
collectObjectCreationin interfaceStatement- Overrides:
collectObjectCreationin classAbstractStatement
-
getStructuredStatement
-
equivalentUnder
-