Class UnstructuredContinue
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredContinue
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.UnstructuredContinue
-
- All Implemented Interfaces:
HasByteCodeLoc
,Matcher<StructuredStatement>
,StructuredStatement
,Dumpable
,TypeUsageCollectable
public class UnstructuredContinue extends AbstractStructuredContinue
-
-
Field Summary
Fields Modifier and Type Field Description private BlockIdentifier
continueTgt
-
Constructor Summary
Constructors Constructor Description UnstructuredContinue(BytecodeLoc loc, BlockIdentifier continueTgt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectTypeUsages(TypeUsageCollector collector)
Dumper
dump(Dumper dumper)
BytecodeLoc
getCombinedLoc()
BlockIdentifier
getContinueTgt()
StructuredStatement
informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers)
boolean
isProperlyStructured()
boolean
isRecursivelyStructured()
void
linearizeInto(java.util.List<StructuredStatement> out)
boolean
match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
void
rewriteExpressions(ExpressionRewriter expressionRewriter)
void
traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
void
transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
-
Methods inherited from class org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
addLoc, alwaysDefines, canDefine, canFall, claimBlock, fallsNopToNext, findCreatedHere, getBreakableBlockOrNull, getContainer, getInline, getLoc, inlineable, isEffectivelyNOP, isScopeBlock, markCreator, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReverse
-
-
-
-
Field Detail
-
continueTgt
private final BlockIdentifier continueTgt
-
-
Constructor Detail
-
UnstructuredContinue
public UnstructuredContinue(BytecodeLoc loc, BlockIdentifier continueTgt)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
getContinueTgt
public BlockIdentifier getContinueTgt()
- Specified by:
getContinueTgt
in classAbstractStructuredContinue
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
-
informBlockHeirachy
public StructuredStatement informBlockHeirachy(java.util.Vector<BlockIdentifier> blockIdentifiers)
- Specified by:
informBlockHeirachy
in interfaceStructuredStatement
- Overrides:
informBlockHeirachy
in classAbstractStructuredStatement
-
isProperlyStructured
public boolean isProperlyStructured()
- Specified by:
isProperlyStructured
in interfaceStructuredStatement
- Overrides:
isProperlyStructured
in classAbstractStructuredStatement
-
isRecursivelyStructured
public boolean isRecursivelyStructured()
- Specified by:
isRecursivelyStructured
in interfaceStructuredStatement
- Overrides:
isRecursivelyStructured
in classAbstractStructuredStatement
-
transformStructuredChildren
public void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
-
linearizeInto
public void linearizeInto(java.util.List<StructuredStatement> out)
-
match
public boolean match(MatchIterator<StructuredStatement> matchIterator, MatchResultCollector matchResultCollector)
- Specified by:
match
in interfaceMatcher<StructuredStatement>
- Overrides:
match
in classAbstractStructuredStatement
-
traceLocalVariableScope
public void traceLocalVariableScope(LValueScopeDiscoverer scopeDiscoverer)
-
rewriteExpressions
public void rewriteExpressions(ExpressionRewriter expressionRewriter)
-
-