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
public class LValueScopeDiscoverImpl extends AbstractLValueScopeDiscoverer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
AbstractLValueScopeDiscoverer.ScopeDefinition
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
instanceOfDefines
-
Fields inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
currentBlock, currentDepth, currentMark, discoveredCreations, earliestDefinition, earliestDefinitionsByLevel, options, variableFactory
-
-
Constructor Summary
Constructors Constructor Description LValueScopeDiscoverImpl(Options options, MethodPrototype prototype, VariableFactory variableFactory, ClassFileVersion version)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collect(LValue lValue, ReadWrite rw)
void
collectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value)
boolean
descendLambdas()
boolean
didDetectInstanceOfMatching()
boolean
ifCanDefine()
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.parse.utils.scope.AbstractLValueScopeDiscoverer
collect, collectMultiUse, collectMutatedLValue, enterBlock, getFactCache, leaveBlock, mark, markDiscoveredCreations, processOp04Statement
-
-
-
-
Constructor Detail
-
LValueScopeDiscoverImpl
public LValueScopeDiscoverImpl(Options options, MethodPrototype prototype, VariableFactory variableFactory, ClassFileVersion version)
-
-
Method Detail
-
collectLocalVariableAssignment
public void collectLocalVariableAssignment(LocalVariable localVariable, StatementContainer<StructuredStatement> statementContainer, Expression value)
-
didDetectInstanceOfMatching
public boolean didDetectInstanceOfMatching()
-
descendLambdas
public boolean descendLambdas()
-
ifCanDefine
public boolean ifCanDefine()
- Specified by:
ifCanDefine
in interfaceLValueScopeDiscoverer
- Overrides:
ifCanDefine
in classAbstractLValueScopeDiscoverer
-
-