Class TraverserController

java.lang.Object
jadx.core.dex.visitors.finaly.traverser.TraverserController

public final class TraverserController extends Object
Responsible for determining if two distinct subgraphs are the same within a graph by comparing all blocks and their instructions. This is used for identifying duplicated instructions for extracting finally blocks. The terms "finally" and "candidate" are used to represent the two distinct subgraphs explored by this controller; the "finally" subgraph, which is the subgraph which is what is being used as a finally block, and the "candidate" subgraph, which is the subgraph which is being compared to the "finally" subgraph to see if they are the same. There is only ever one "finally" subgraph, however it is run against multiple different "candidate" subgraphs depending on the complexity of the try catch block that this is being run for.