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 TypeMethodDescriptionvoid
collectLValueUsage
(LValueUsageCollector lValueUsageCollector) void
collectObjectCreation
(CreationCollector creationCollector) deepClone
(CloneHelper cloneHelper) final boolean
equivalentUnder
(Object o, EquivalenceConstraint constraint) void
replaceSingleUsageLValues
(LValueRewriter lValueRewriter, SSAIdentifiers ssaIdentifiers) void
rewriteExpressions
(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:
collectObjectCreation
in interfaceStatement
- Overrides:
collectObjectCreation
in classAbstractStatement
-
getStructuredStatement
-
equivalentUnder
-