Package jadx.core.dex.visitors.regions
Class SwitchBreakVisitor
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.regions.SwitchBreakVisitor
- All Implemented Interfaces:
IDexTreeVisitor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classprivate static final classAdd common 'break' if 'break' or exit insn ('return', 'throw', 'continue') found in all branches.private static final classFor every 'switch' region run new instance of provided 'switch' visitor.private static final class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Visitor short idprivate static voidvoidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
init, toString, visit
-
Constructor Details
-
SwitchBreakVisitor
public SwitchBreakVisitor()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor- Throws:
JadxException
-
runSwitchTraverse
private static void runSwitchTraverse(MethodNode mth, Supplier<SwitchBreakVisitor.BaseSwitchRegionVisitor> builder) -
getName
Description copied from interface:IDexTreeVisitorVisitor short id- Specified by:
getNamein interfaceIDexTreeVisitor- Overrides:
getNamein classAbstractVisitor
-