Class StructuredIter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredBlockStatement
org.benf.cfr.reader.bytecode.analysis.structured.statement.StructuredIter
- All Implemented Interfaces:
HasByteCodeLoc
,Matcher<StructuredStatement>
,StructuredStatement
,Dumpable
,TypeUsageCollectable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStructuredIter
(BytecodeLoc loc, BlockIdentifier block, LValue iterator, Expression list, Op04StructuredStatement body) -
Method Summary
Modifier and TypeMethodDescriptionboolean
alwaysDefines
(LValue scopedEntity) boolean
canDefine
(LValue scopedEntity, ScopeDiscoverInfoCache factCache) void
collectTypeUsages
(TypeUsageCollector collector) boolean
void
void
markCreator
(LValue scopedEntity, StatementContainer<StructuredStatement> hint) void
rewriteExpressions
(ExpressionRewriter expressionRewriter) boolean
boolean
void
traceLocalVariableScope
(LValueScopeDiscoverer scopeDiscoverer) Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredBlockStatement
getBody, isRecursivelyStructured, transformStructuredChildren
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
addLoc, canFall, claimBlock, fallsNopToNext, getContainer, getInline, getLoc, informBlockHeirachy, inlineable, isEffectivelyNOP, isProperlyStructured, match, setContainer, suggestName, toString, transformStructuredChildrenInReverse
-
Field Details
-
block
-
iterator
-
list
-
-
Constructor Details
-
StructuredIter
StructuredIter(BytecodeLoc loc, BlockIdentifier block, LValue iterator, Expression list, Op04StructuredStatement body)
-
-
Method Details
-
collectTypeUsages
- Specified by:
collectTypeUsages
in interfaceTypeUsageCollectable
- Overrides:
collectTypeUsages
in classAbstractStructuredBlockStatement
-
getCombinedLoc
-
dump
-
isScopeBlock
public boolean isScopeBlock()- Specified by:
isScopeBlock
in interfaceStructuredStatement
- Overrides:
isScopeBlock
in classAbstractStructuredStatement
-
linearizeInto
-
getBreakableBlockOrNull
- Specified by:
getBreakableBlockOrNull
in interfaceStructuredStatement
- Overrides:
getBreakableBlockOrNull
in classAbstractStructuredStatement
-
supportsContinueBreak
public boolean supportsContinueBreak()- Specified by:
supportsContinueBreak
in interfaceStructuredStatement
- Overrides:
supportsContinueBreak
in classAbstractStructuredStatement
-
supportsBreak
public boolean supportsBreak()- Specified by:
supportsBreak
in interfaceStructuredStatement
- Overrides:
supportsBreak
in classAbstractStructuredStatement
-
traceLocalVariableScope
-
markCreator
- Specified by:
markCreator
in interfaceStructuredStatement
- Overrides:
markCreator
in classAbstractStructuredStatement
-
alwaysDefines
- Specified by:
alwaysDefines
in interfaceStructuredStatement
- Overrides:
alwaysDefines
in classAbstractStructuredStatement
-
canDefine
- Specified by:
canDefine
in interfaceStructuredStatement
- Overrides:
canDefine
in classAbstractStructuredStatement
-
findCreatedHere
- Specified by:
findCreatedHere
in interfaceStructuredStatement
- Overrides:
findCreatedHere
in classAbstractStructuredStatement
-
rewriteExpressions
-