Class MethodLocation

java.lang.Object
org.jf.dexlib2.builder.MethodLocation

public class MethodLocation extends Object
  • Field Details

  • Constructor Details

    • MethodLocation

      MethodLocation(@Nullable BuilderInstruction instruction, int codeAddress, int index)
  • Method Details

    • getInstruction

      @Nullable public Instruction getInstruction()
    • getCodeAddress

      public int getCodeAddress()
    • getIndex

      public int getIndex()
    • mergeInto

      void mergeInto(@Nonnull MethodLocation nextLocation)
    • getLabels

      @Nonnull public Set<Label> getLabels()
    • addNewLabel

      @Nonnull public Label addNewLabel()
    • getDebugItems

      @Nonnull public 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)