Package jadx.core.dex.visitors
Class InlineMethods
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.InlineMethods
- All Implemented Interfaces:
IDexTreeVisitor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidinlineMethod(MethodNode mth, MethodNode callMth, MethodInlineAttr mia, BlockNode block, InvokeNode insn) private booleanisAssignNeeded(InsnNode inlineInsn, InvokeNode parentInsn, MethodNode callMthNode) private voidprocessInvokeInsn(MethodNode mth, BlockNode block, InvokeNode insn) private voidreplaceClsUsage(MethodNode mth, MethodNode inlinedMth, ClassNode parentClass) private booleanreplaceRegs(MethodNode mth, MethodNode callMth, MethodInlineAttr mia, InvokeNode insn, InsnNode inlCopy) private voidupdateUsageInfo(MethodNode mth, MethodNode inlinedMth, InsnNode insn) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
getName, init, toString, visit
-
Field Details
-
LOG
private static final org.slf4j.Logger LOG
-
-
Constructor Details
-
InlineMethods
public InlineMethods()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor- Throws:
JadxException
-
processInvokeInsn
-
inlineMethod
private void inlineMethod(MethodNode mth, MethodNode callMth, MethodInlineAttr mia, BlockNode block, InvokeNode insn) -
replaceRegs
private boolean replaceRegs(MethodNode mth, MethodNode callMth, MethodInlineAttr mia, InvokeNode insn, InsnNode inlCopy) -
isAssignNeeded
-
updateUsageInfo
-
replaceClsUsage
-