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 MethodBodyprivate final ControlFlowGraphprivate final List<ExceptionHandler> private final Map<ExceptionHandler, AstBuilder.HandlerInfo> private final InstructionCollectionprivate final Map<Instruction, ControlFlowNode> private final Function<Instruction, Instruction> private final Set<ControlFlowNode> private final Set<Instruction> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateFinallyInlining(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions) -
Method Summary
Modifier and TypeMethodDescriptionprivate Set<ControlFlowNode> collectNodes(AstBuilder.HandlerInfo handlerInfo) private static voiddumpHandlerNodes(ExceptionHandler handler, List<ControlFlowNode> tryNodes, List<ControlFlowNode> handlerNodes) private voidprivate Instructionprivate voidprocessFinally(ExceptionHandler handler) private voidprocessNodes(AstBuilder.HandlerInfo handlerInfo, Instruction first, Instruction last, int instructionCount, Set<ControlFlowNode> toProcess, Set<ControlFlowNode> forbiddenNodes) (package private) static voidrun(MethodBody body, InstructionCollection instructions, List<ExceptionHandler> handlers, Set<Instruction> removedInstructions) private voidrunCore()
-
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
-