Class LValueScopeDiscoverImpl
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.LValueScopeDiscoverImpl
- All Implemented Interfaces:
LValueAssignmentCollector<StructuredStatement>
,LValueUsageCollector
,LValueScopeDiscoverer
-
Nested Class Summary
Nested classes/interfaces inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
AbstractLValueScopeDiscoverer.ScopeDefinition
-
Field Summary
FieldsFields inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
currentBlock, currentDepth, currentMark, discoveredCreations, earliestDefinition, earliestDefinitionsByLevel, options, variableFactory
-
Constructor Summary
ConstructorsConstructorDescriptionLValueScopeDiscoverImpl
(Options options, MethodPrototype prototype, VariableFactory variableFactory, ClassFileVersion version) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
collectLocalVariableAssignment
(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value) boolean
boolean
boolean
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
collect, collectMultiUse, collectMutatedLValue, enterBlock, getFactCache, leaveBlock, mark, markDiscoveredCreations, processOp04Statement
-
Field Details
-
instanceOfDefines
private final boolean instanceOfDefines
-
-
Constructor Details
-
LValueScopeDiscoverImpl
public LValueScopeDiscoverImpl(Options options, MethodPrototype prototype, VariableFactory variableFactory, ClassFileVersion version)
-
-
Method Details
-
collectLocalVariableAssignment
public void collectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value) -
didDetectInstanceOfMatching
public boolean didDetectInstanceOfMatching() -
collect
-
descendLambdas
public boolean descendLambdas() -
ifCanDefine
public boolean ifCanDefine()- Specified by:
ifCanDefine
in interfaceLValueScopeDiscoverer
- Overrides:
ifCanDefine
in classAbstractLValueScopeDiscoverer
-