Package org.jf.dexlib2.builder
Class MethodLocation
java.lang.Object
org.jf.dexlib2.builder.MethodLocation
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intprivate final LocatedItems<BuilderDebugItem> (package private) int(package private) BuilderInstructionprivate final LocatedItems<Label> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEndLocal(int registerNumber) voidvoidaddLineNumber(int lineNumber) voidvoidaddRestartLocal(int registerNumber) voidaddSetSourceFile(StringReference sourceFile) voidaddStartLocal(int registerNumber, StringReference name, TypeReference type, StringReference signature) intintgetIndex()(package private) voidmergeInto(MethodLocation nextLocation)
-
Field Details
-
instruction
-
codeAddress
int codeAddress -
index
int index -
labels
-
debugItems
-
-
Constructor Details
-
MethodLocation
MethodLocation(@Nullable BuilderInstruction instruction, int codeAddress, int index)
-
-
Method Details
-
getInstruction
-
getCodeAddress
public int getCodeAddress() -
getIndex
public int getIndex() -
mergeInto
-
getLabels
-
addNewLabel
-
getDebugItems
-
addLineNumber
public void addLineNumber(int lineNumber) -
addStartLocal
public void addStartLocal(int registerNumber, @Nullable StringReference name, @Nullable TypeReference type, @Nullable StringReference signature) -
addEndLocal
public void addEndLocal(int registerNumber) -
addRestartLocal
public void addRestartLocal(int registerNumber) -
addPrologue
public void addPrologue() -
addEpilogue
public void addEpilogue() -
addSetSourceFile
-