Package jadx.core.dex.visitors
Class ReplaceNewArray
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.ReplaceNewArray
- All Implemented Interfaces:
IDexTreeVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static booleanprocessInsn(MethodNode mth, List<InsnNode> instructions, int i, InsnRemover remover) private static booleanprocessNewArray(MethodNode mth, NewArrayNode newArrayInsn, List<InsnNode> instructions, InsnRemover remover) private static InsnArgreplaceConstInArg(MethodNode mth, InsnArg valueArg) private static booleanverifyPutInsns(RegisterArg arrReg, List<InsnNode> insnList, SortedMap<Long, InsnNode> arrPuts) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
getName, init, toString, visit
-
Constructor Details
-
ReplaceNewArray
public ReplaceNewArray()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor- Throws:
JadxException
-
processInsn
private static boolean processInsn(MethodNode mth, List<InsnNode> instructions, int i, InsnRemover remover) -
processNewArray
private static boolean processNewArray(MethodNode mth, NewArrayNode newArrayInsn, List<InsnNode> instructions, InsnRemover remover) -
verifyPutInsns
-
replaceConstInArg
-