Class AbstractStructuredBlockStatement
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredStatement
-
- org.benf.cfr.reader.bytecode.analysis.structured.statement.AbstractStructuredBlockStatement
-
- All Implemented Interfaces:
HasByteCodeLoc
,Matcher<StructuredStatement>
,StructuredStatement
,Dumpable
,TypeUsageCollectable
- Direct Known Subclasses:
AbstractStructuredConditionalLoopStatement
,StructuredCase
,StructuredFor
,StructuredIter
,StructuredSwitch
,StructuredSynchronized
public abstract class AbstractStructuredBlockStatement extends AbstractStructuredStatement
-
-
Field Summary
Fields Modifier and Type Field Description private Op04StructuredStatement
body
-
Constructor Summary
Constructors Constructor Description AbstractStructuredBlockStatement(BytecodeLoc loc, Op04StructuredStatement body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
collectTypeUsages(TypeUsageCollector collector)
Op04StructuredStatement
getBody()
boolean
isRecursivelyStructured()
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, informBlockHeirachy, inlineable, isEffectivelyNOP, isProperlyStructured, isScopeBlock, markCreator, match, setContainer, suggestName, supportsBreak, supportsContinueBreak, toString, transformStructuredChildrenInReverse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.loc.HasByteCodeLoc
getCombinedLoc
-
Methods inherited from interface org.benf.cfr.reader.bytecode.analysis.structured.StructuredStatement
linearizeInto, rewriteExpressions, traceLocalVariableScope
-
-
-
-
Field Detail
-
body
private Op04StructuredStatement body
-
-
Constructor Detail
-
AbstractStructuredBlockStatement
AbstractStructuredBlockStatement(BytecodeLoc loc, Op04StructuredStatement body)
-
-
Method Detail
-
getBody
public Op04StructuredStatement getBody()
-
isRecursivelyStructured
public boolean isRecursivelyStructured()
- Specified by:
isRecursivelyStructured
in interfaceStructuredStatement
- Overrides:
isRecursivelyStructured
in classAbstractStructuredStatement
-
transformStructuredChildren
public void transformStructuredChildren(StructuredStatementTransformer transformer, StructuredScope scope)
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
-
-