Class UnstructuredWhile
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractUnStructuredStatement
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.UnstructuredWhile
-
- All Implemented Interfaces:
HasByteCodeLoc
,Matcher<StructuredStatement>
,StructuredStatement
,Dumpable
,TypeUsageCollectable
public class UnstructuredWhile extends AbstractUnStructuredStatement
-
-
Field Summary
Fields Modifier and Type Field Description private BlockIdentifier
blockIdentifier
private java.util.Set<BlockIdentifier>
blocksEndedAfter
private ConditionalExpression
condition
-
Constructor Summary
Constructors Constructor Description UnstructuredWhile(BytecodeLoc loc, ConditionalExpression condition, BlockIdentifier blockIdentifier, java.util.Set<BlockIdentifier> blocksEndedAfter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredStatement
claimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)
void
collectTypeUsages(TypeUsageCollector collector)
Dumper
dump(Dumper dumper)
BytecodeLoc
getCombinedLoc()
ConditionalExpression
getCondition()
StructuredStatement
informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractUnStructuredStatement
findCreatedHere, getBreakableBlockOrNull, isEffectivelyNOP, isProperlyStructured, isRecursivelyStructured, linearizeInto, match, rewriteExpressions, suggestName, traceLocalVariableScope, transformStructuredChildren, transformStructuredChildrenInReverse
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
addLoc, alwaysDefines, canDefine, canFall, fallsNopToNext, getContainer, getInline, getLoc, inlineable, isScopeBlock, markCreator, setContainer, supportsBreak, supportsContinueBreak, toString
-
-
-
-
Field Detail
-
condition
private ConditionalExpression condition
-
blockIdentifier
private BlockIdentifier blockIdentifier
-
blocksEndedAfter
private java.util.Set<BlockIdentifier> blocksEndedAfter
-
-
Constructor Detail
-
UnstructuredWhile
public UnstructuredWhile(BytecodeLoc loc, ConditionalExpression condition, BlockIdentifier blockIdentifier, java.util.Set<BlockIdentifier> blocksEndedAfter)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
-
informBlockHeirachy
public StructuredStatement informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers)
- Specified by:
informBlockHeirachy
in interfaceStructuredStatement
- Overrides:
informBlockHeirachy
in classAbstractStructuredStatement
-
claimBlock
public StructuredStatement claimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)
- Specified by:
claimBlock
in interfaceStructuredStatement
- Overrides:
claimBlock
in classAbstractStructuredStatement
-
getCondition
public ConditionalExpression getCondition()
-
-