Package org.jf.dexlib2.builder
Class MethodLocation
- java.lang.Object
-
- org.jf.dexlib2.builder.MethodLocation
-
public class MethodLocation extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEndLocal(int registerNumber)
void
addEpilogue()
void
addLineNumber(int lineNumber)
Label
addNewLabel()
void
addPrologue()
void
addRestartLocal(int registerNumber)
void
addSetSourceFile(StringReference sourceFile)
void
addStartLocal(int registerNumber, StringReference name, TypeReference type, StringReference signature)
int
getCodeAddress()
java.util.Set<BuilderDebugItem>
getDebugItems()
int
getIndex()
Instruction
getInstruction()
java.util.Set<Label>
getLabels()
-
-
-
Method Detail
-
getInstruction
@Nullable public Instruction getInstruction()
-
getCodeAddress
public int getCodeAddress()
-
getIndex
public int getIndex()
-
getLabels
@Nonnull public java.util.Set<Label> getLabels()
-
addNewLabel
@Nonnull public Label addNewLabel()
-
getDebugItems
@Nonnull public java.util.Set<BuilderDebugItem> 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
public void addSetSourceFile(@Nullable StringReference sourceFile)
-
-