Class CreationCollector
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.utils.CreationCollector
This is all a bit ugly, with the random casting going on. But I think probably it would be worse to use
a multiple indirection visitor....
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AnonymousClassUsageprivate final List<Pair<LValue, CreationCollector.StatementPair<MemberFunctionInvokation>>> private final Map<LValue, List<StatementContainer>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectConstruction(Expression expression, MemberFunctionInvokation rValue, StatementContainer container) voidcollectCreation(LValue lValue, Expression rValue, StatementContainer container) voidcondenseConstructions(Method method, DCCommonState dcCommonState) private voidmarkConstruction(LValue lValue, MemberFunctionInvokation rValue, StatementContainer container) private voidmoveDupPostCreation(LValue lValue, StatementContainer oldCreation, StatementContainer oldConstruction)
-
Field Details
-
collectedConstructions
private final List<Pair<LValue, CreationCollector.StatementPair<MemberFunctionInvokation>>> collectedConstructions -
collectedCreations
-
anonymousClassUsage
-
-
Constructor Details
-
CreationCollector
-
-
Method Details
-
collectCreation
-
collectConstruction
public void collectConstruction(Expression expression, MemberFunctionInvokation rValue, StatementContainer container) -
markConstruction
private void markConstruction(LValue lValue, MemberFunctionInvokation rValue, StatementContainer container) -
condenseConstructions
-
moveDupPostCreation
private void moveDupPostCreation(LValue lValue, StatementContainer oldCreation, StatementContainer oldConstruction)
-