Class LocalClassScopeDiscoverImpl
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.LocalClassScopeDiscoverImpl
- All Implemented Interfaces:
LValueAssignmentCollector<StructuredStatement>
,LValueUsageCollector
,LValueScopeDiscoverer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static class
(package private) class
Nested classes/interfaces inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
AbstractLValueScopeDiscoverer.ScopeDefinition
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<JavaTypeInstance,
Boolean> private final JavaTypeInstance
private final LocalClassScopeDiscoverImpl.TypeUsageSpotter
Fields inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
currentBlock, currentDepth, currentMark, discoveredCreations, earliestDefinition, earliestDefinitionsByLevel, options, variableFactory
-
Constructor Summary
ConstructorsConstructorDescriptionLocalClassScopeDiscoverImpl
(Options options, Method method, VariableFactory variableFactory) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
collectLocalVariableAssignment
(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value) private void
defineHere
(LValue lValue, JavaTypeInstance type, boolean immediate) boolean
void
processOp04Statement
(Op04StructuredStatement statement) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
collect, collectMultiUse, collectMutatedLValue, enterBlock, getFactCache, ifCanDefine, leaveBlock, mark, markDiscoveredCreations
-
Field Details
-
localClassTypes
-
typeUsageSpotter
-
scopeType
-
-
Constructor Details
-
LocalClassScopeDiscoverImpl
-
-
Method Details
-
processOp04Statement
- Specified by:
processOp04Statement
in interfaceLValueScopeDiscoverer
- Overrides:
processOp04Statement
in classAbstractLValueScopeDiscoverer
-
collectLocalVariableAssignment
public void collectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value) -
collect
-
defineHere
-
descendLambdas
public boolean descendLambdas()
-