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 AbstractLValueScopeDiscoverer
AbstractLValueScopeDiscoverer.ScopeDefinition -
Field Summary
FieldsFields inherited from class AbstractLValueScopeDiscoverer
currentBlock, currentDepth, currentMark, discoveredCreations, earliestDefinition, earliestDefinitionsByLevel, options, variableFactory -
Constructor Summary
ConstructorsConstructorDescriptionLValueScopeDiscoverImpl(Options options, MethodPrototype prototype, VariableFactory variableFactory, ClassFileVersion version) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcollectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value) booleanbooleanbooleanMethods inherited from class 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:
ifCanDefinein interfaceLValueScopeDiscoverer- Overrides:
ifCanDefinein classAbstractLValueScopeDiscoverer
-