Package jadx.core.dex.visitors.regions
Class TracedRegionVisitor
- java.lang.Object
-
- jadx.core.dex.visitors.regions.TracedRegionVisitor
-
- All Implemented Interfaces:
IRegionVisitor
public abstract class TracedRegionVisitor extends java.lang.Object implements IRegionVisitor
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Deque<IRegion>regionStack
-
Constructor Summary
Constructors Constructor Description TracedRegionVisitor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanenterRegion(MethodNode mth, IRegion region)voidleaveRegion(MethodNode mth, IRegion region)voidprocessBlock(MethodNode mth, IBlock container)abstract voidprocessBlockTraced(MethodNode mth, IBlock container, IRegion currentRegion)
-
-
-
Field Detail
-
regionStack
protected final java.util.Deque<IRegion> regionStack
-
-
Method Detail
-
enterRegion
public boolean enterRegion(MethodNode mth, IRegion region)
- Specified by:
enterRegionin interfaceIRegionVisitor- Returns:
- true for traverse sub-blocks, false otherwise.
-
processBlock
public void processBlock(MethodNode mth, IBlock container)
- Specified by:
processBlockin interfaceIRegionVisitor
-
processBlockTraced
public abstract void processBlockTraced(MethodNode mth, IBlock container, IRegion currentRegion)
-
leaveRegion
public void leaveRegion(MethodNode mth, IRegion region)
- Specified by:
leaveRegionin interfaceIRegionVisitor
-
-