Class TryRewriter
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.opgraph.op3rewriters.TryRewriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static voidprivate static voidcombineTryCatchEnds(Op03SimpleStatement tryStatement, List<Op03SimpleStatement> in) private static voidextendTryBlock(Op03SimpleStatement tryStatement, List<Op03SimpleStatement> in, DCCommonState dcCommonState) (package private) static voidextendTryBlocks(DCCommonState dcCommonState, List<Op03SimpleStatement> in) (package private) static voidprivate static voidprivate static BlockIdentifiergetBlockStart(Statement statement) private static Op03SimpleStatementgetLastContiguousBlockStatement(BlockIdentifier blockIdentifier, List<Op03SimpleStatement> in, Op03SimpleStatement preBlock) private static void(package private) static void
-
Constructor Details
-
TryRewriter
TryRewriter()
-
-
Method Details
-
extendTryBlock
private static void extendTryBlock(Op03SimpleStatement tryStatement, List<Op03SimpleStatement> in, DCCommonState dcCommonState) -
extendTryBlocks
-
combineTryCatchEnds
-
getLastContiguousBlockStatement
private static Op03SimpleStatement getLastContiguousBlockStatement(BlockIdentifier blockIdentifier, List<Op03SimpleStatement> in, Op03SimpleStatement preBlock) -
combineTryCatchEnds
private static void combineTryCatchEnds(Op03SimpleStatement tryStatement, List<Op03SimpleStatement> in) -
extractExceptionJumps
-
getBlockStart
-
extractExceptionJumps
-
rewriteTryBackJump
-
rewriteTryBackJumps
-