use of jadx.core.dex.nodes.IRegion in project jadx by skylot.
the class CollectUsageRegionVisitor method regionProcess.
private void regionProcess(UsePlace usePlace) {
IRegion region = usePlace.getRegion();
if (region instanceof LoopRegion) {
LoopRegion loopRegion = (LoopRegion) region;
LoopType loopType = loopRegion.getType();
if (loopType instanceof ForLoop) {
ForLoop forLoop = (ForLoop) loopType;
processInsn(forLoop.getInitInsn(), usePlace);
processInsn(forLoop.getIncrInsn(), usePlace);
}
}
}
Aggregations