Package jadx.core.dex.visitors.debuginfo
Class DebugInfoAttachVisitor
java.lang.Object
jadx.core.dex.visitors.AbstractVisitor
jadx.core.dex.visitors.debuginfo.DebugInfoAttachVisitor
- All Implemented Interfaces:
IDexTreeVisitor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intattachDebugInfo(InsnArg arg, RegDebugInfoAttr debugInfoAttr, int regNum) private voidattachDebugInfo(MethodNode mth, List<ILocalVar> localVars, InsnNode[] insnArr) private voidattachSourceLines(MethodNode mth, Map<Integer, Integer> lineMapping, InsnNode[] insnArr) private static booleancheckSignature(MethodNode mth, ArgType type, ArgType gType) static ArgTypegetVarType(MethodNode mth, ILocalVar var) private voidprocessDebugInfo(MethodNode mth, IDebugInfo debugInfo) private voidsetMethodSourceLine(MethodNode mth, InsnNode[] insnArr) Set method source line from first instructionprivate StringverifyDebugLines(Map<Integer, Integer> lineMapping) voidvisit(MethodNode mth) Visit methodMethods inherited from class jadx.core.dex.visitors.AbstractVisitor
getName, init, toString, visit
-
Constructor Details
-
DebugInfoAttachVisitor
public DebugInfoAttachVisitor()
-
-
Method Details
-
visit
Description copied from interface:IDexTreeVisitorVisit method- Specified by:
visitin interfaceIDexTreeVisitor- Overrides:
visitin classAbstractVisitor- Throws:
JadxException
-
processDebugInfo
-
attachSourceLines
private void attachSourceLines(MethodNode mth, Map<Integer, Integer> lineMapping, InsnNode[] insnArr) -
verifyDebugLines
-
attachDebugInfo
-
attachDebugInfo
-
getVarType
-
checkSignature
-
setMethodSourceLine
Set method source line from first instruction
-