Class UnstructuredCatch
- 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.UnstructuredCatch
-
- All Implemented Interfaces:
HasByteCodeLoc,Matcher<StructuredStatement>,StructuredStatement,Dumpable,TypeUsageCollectable
public class UnstructuredCatch extends AbstractUnStructuredStatement
-
-
Field Summary
Fields Modifier and Type Field Description private BlockIdentifierblockIdentifierprivate LValuecatchingprivate java.util.List<ExceptionGroup.Entry>exceptions
-
Constructor Summary
Constructors Constructor Description UnstructuredCatch(java.util.List<ExceptionGroup.Entry> exceptions, BlockIdentifier blockIdentifier, LValue catching)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructuredStatementclaimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)voidcollectTypeUsages(TypeUsageCollector collector)Dumperdump(Dumper dumper)private StructuredStatementgetCatchFor(Op04StructuredStatement innerBlock)StructuredStatementgetCatchForEmpty()BytecodeLocgetCombinedLoc()-
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, informBlockHeirachy, inlineable, isScopeBlock, markCreator, setContainer, supportsBreak, supportsContinueBreak, toString
-
-
-
-
Field Detail
-
exceptions
private final java.util.List<ExceptionGroup.Entry> exceptions
-
blockIdentifier
private final BlockIdentifier blockIdentifier
-
catching
private final LValue catching
-
-
Constructor Detail
-
UnstructuredCatch
public UnstructuredCatch(java.util.List<ExceptionGroup.Entry> exceptions, BlockIdentifier blockIdentifier, LValue catching)
-
-
Method Detail
-
getCombinedLoc
public BytecodeLoc getCombinedLoc()
-
collectTypeUsages
public void collectTypeUsages(TypeUsageCollector collector)
-
getCatchFor
private StructuredStatement getCatchFor(Op04StructuredStatement innerBlock)
-
getCatchForEmpty
public StructuredStatement getCatchForEmpty()
-
claimBlock
public StructuredStatement claimBlock(Op04StructuredStatement innerBlock, BlockIdentifier blockIdentifier, java.util.Vector<BlockIdentifier> blocksCurrentlyIn)
- Specified by:
claimBlockin interfaceStructuredStatement- Overrides:
claimBlockin classAbstractStructuredStatement
-
-