Interface IDexFieldData


public interface IDexFieldData
This interface represents a DEX encoded_field object. Only internal fields have such objects. Retrieved via IDexField.getData().
  • Method Details

    • getFieldIndex

      int getFieldIndex()
      Get the field index (index of Field object).
      Returns:
      the field index
    • getAccessFlags

      int getAccessFlags()
      Get the field access flags.
      Returns:
      the access flags, refer to the ACC_xxx constants in the IDexUnit
    • isPublic

      boolean isPublic()
      Convenience method to check the apt-named access flag.
      Returns:
    • isProtected

      boolean isProtected()
      Convenience method to check the apt-named access flag.
      Returns:
    • isPrivate

      boolean isPrivate()
      Convenience method to check the apt-named access flag.
      Returns:
    • isStatic

      boolean isStatic()
      Convenience method to check the apt-named access flag.
      Returns:
    • isFinal

      boolean isFinal()
      Convenience method to check the apt-named access flag.
      Returns:
    • isSynthetic

      boolean isSynthetic()
      Convenience method to check the apt-named access flag.
      Returns:
    • isVolatile

      boolean isVolatile()
      Convenience method to check the apt-named access flag.
      Returns:
    • getDexFileIndex

      int getDexFileIndex()
      Retrieve the index of the dex file that defines this field body.
      Returns:
      an index into IDexUnit.getDexFiles() (of the owner , or -1 if unknown or not defined
    • getUserFlags

      int getUserFlags()
      Custom flags.
      Returns:
    • setUserFlags

      void setUserFlags(int flags)
      Custom flags.
      Parameters:
      flags -