Package com.strobel.decompiler.ast
Class AstBuilder.FinallyInlining
java.lang.Object
com.strobel.decompiler.ast.AstBuilder.FinallyInlining
- Enclosing class:
AstBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Set
<ControlFlowNode> private final MethodBody
private final ControlFlowGraph
private final List
<ExceptionHandler> private final Map
<ExceptionHandler, AstBuilder.HandlerInfo> private final InstructionCollection
private final Map
<Instruction, ControlFlowNode> private final Function
<Instruction, Instruction> private final Set
<ControlFlowNode> private final Set
<Instruction> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
FinallyInlining
(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions) -
Method Summary
Modifier and TypeMethodDescriptionprivate Set
<ControlFlowNode> collectNodes
(AstBuilder.HandlerInfo handlerInfo) private static void
dumpHandlerNodes
(ExceptionHandler handler, List<ControlFlowNode> tryNodes, List<ControlFlowNode> handlerNodes) private void
private Instruction
private void
processFinally
(ExceptionHandler handler) private void
processNodes
(AstBuilder.HandlerInfo handlerInfo, Instruction first, Instruction last, int instructionCount, Set<ControlFlowNode> toProcess, Set<ControlFlowNode> forbiddenNodes) (package private) static void
run
(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions) private void
runCore()
-
Field Details
-
_body
-
_instructions
-
_exceptionHandlers
-
_removed
-
_previous
-
_cfg
-
_nodeMap
-
_handlerMap
-
_processedNodes
-
_allFinallyNodes
-
-
Constructor Details
-
FinallyInlining
private FinallyInlining(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions)
-
-
Method Details
-
dumpHandlerNodes
private static void dumpHandlerNodes(ExceptionHandler handler, List<ControlFlowNode> tryNodes, List<ControlFlowNode> handlerNodes) -
run
static void run(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions) -
runCore
private void runCore() -
processFinally
-
processNodes
private void processNodes(AstBuilder.HandlerInfo handlerInfo, Instruction first, Instruction last, int instructionCount, Set<ControlFlowNode> toProcess, Set<ControlFlowNode> forbiddenNodes) -
collectNodes
-
preProcess
private void preProcess() -
previous
-