Interface IDexDebugVariable


@Ser public interface IDexDebugVariable
This interface represents information about a local variable at a specific location.
  • Method Summary

    Modifier and Type
    Method
    Description
    Pretty-print this debug variable.
    int
    Get the variable definition address in 16-bit units.
    int
    Get the name index for the variable.
    int
    Get the register index that holds this variable.
    int
    Get the signature index.
    int
    Get the type index for the variable.
  • Method Details

    • getAddress

      int getAddress()
      Get the variable definition address in 16-bit units.
      Returns:
      the address, in 16-bit units; -1 if the variable was defined as a parameter to the method
    • getRegister

      int getRegister()
      Get the register index that holds this variable. In the case of a double-slot variable (long, double), the first register of the pair is returned.
      Returns:
      the register index
    • getNameIndex

      int getNameIndex()
      Get the name index for the variable.
      Returns:
      the name index, -1 if unknown
    • getTypeIndex

      int getTypeIndex()
      Get the type index for the variable.
      Returns:
      the type index, -1 if unknown
    • getSignatureIndex

      int getSignatureIndex()
      Get the signature index. In this context, the term 'signature' refers to additional type information, such as type specialization data.
      Returns:
      the index, or -1 if unknown or none
    • format

      String format(IDexUnit dex)
      Pretty-print this debug variable.
      Parameters:
      dex -
      Returns: