Package jadx.core.dex.visitors
Class AdjustForIfMergeVisitor
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.AdjustForIfMergeVisitor
- All Implemented Interfaces:
IDexTreeVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate booleanprivate booleancouldMerge(MethodNode mth, BlockNode pred, BlockNode blk, BlockNode succ) private voidgetMovableInstructions(BlockNode blk, BlockNode succ) private booleanisSimpleIf(BlockNode blk) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
getName, init, toString, visit
-
Constructor Details
-
AdjustForIfMergeVisitor
public AdjustForIfMergeVisitor()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor
-
areSurroundingsCorrectShape
-
isSimpleIf
-
couldMerge
-
getMovableInstructions
-
doMove
private void doMove(MethodNode mth, BlockNode target, BlockNode bottomIf, List<InsnNode> movableInstructions)
-