Class AbstractLValueScopeDiscoverer
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
- All Implemented Interfaces:
LValueAssignmentCollector<StructuredStatement>, LValueUsageCollector, LValueScopeDiscoverer
- Direct Known Subclasses:
LocalClassScopeDiscoverImpl, LValueScopeDiscoverImpl
-
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) voidcollectMultiUse(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) voidcollectMutatedLValue(LValue lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) voidenterBlock(StructuredStatement structuredStatement) booleanvoidleaveBlock(StructuredStatement structuredStatement) voidvoidvoidprocessOp04Statement(Op04StructuredStatement statement) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface LValueScopeDiscoverer
collect, collectLocalVariableAssignment, descendLambdas
-
Method Details
-
enterBlock
- Specified by:
enterBlockin interfaceLValueScopeDiscoverer
-
ifCanDefine
public boolean ifCanDefine()- Specified by:
ifCanDefinein interfaceLValueScopeDiscoverer
-
processOp04Statement
- Specified by:
processOp04Statementin interfaceLValueScopeDiscoverer
-
mark
- Specified by:
markin interfaceLValueScopeDiscoverer
-
leaveBlock
- Specified by:
leaveBlockin interfaceLValueScopeDiscoverer
-
collect
public void collect(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) - Specified by:
collectin interfaceLValueAssignmentCollector<StructuredStatement>- Specified by:
collectin interfaceLValueScopeDiscoverer
-
collectMultiUse
public void collectMultiUse(StackSSALabel lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) - Specified by:
collectMultiUsein interfaceLValueAssignmentCollector<StructuredStatement>- Specified by:
collectMultiUsein interfaceLValueScopeDiscoverer
-
collectMutatedLValue
public void collectMutatedLValue(LValue lValue, StatementContainer<StructuredStatement> statementContainer, Expression value) - Specified by:
collectMutatedLValuein interfaceLValueAssignmentCollector<StructuredStatement>- Specified by:
collectMutatedLValuein interfaceLValueScopeDiscoverer
-
markDiscoveredCreations
public void markDiscoveredCreations()
-