Enum Class DexReferenceType

java.lang.Object
java.lang.Enum<DexReferenceType>
com.pnfsoftware.jeb.core.units.code.android.dex.DexReferenceType
All Implemented Interfaces:
Serializable, Comparable<DexReferenceType>, Constable

@Ser public enum DexReferenceType extends Enum<DexReferenceType>
Types of Dex references held in IDexAddress objects.
  • Enum Constant Details

    • UNKNOWN

      public static final DexReferenceType UNKNOWN
    • PURE

      public static final DexReferenceType PURE
      simple reference
    • META

      public static final DexReferenceType META
      meta reference
    • GET

      public static final DexReferenceType GET
      field get
    • SET

      public static final DexReferenceType SET
      field set (put)
    • INVOKE

      public static final DexReferenceType INVOKE
      method invocation
    • GETTER

      public static final DexReferenceType GETTER
      a getter, i.e. a synthetic method used to get a field
    • SETTER

      public static final DexReferenceType SETTER
      a setter, i.e. a synthetic method used to set a field
    • INVOKER

      public static final DexReferenceType INVOKER
      an invoker, i.e. a synthetic method used to invoke a method
    • ALLOC

      public static final DexReferenceType ALLOC
      allocation of an object or array
    • REFLECTED

      public static final DexReferenceType REFLECTED
      the object is referenced via reflection - those references can be auto-added by dexdec
    • GET_REFLECTED

      public static final DexReferenceType GET_REFLECTED
      field get (accessed via reflection) - those references can be auto-added by dexdec
    • SET_REFLECTED

      public static final DexReferenceType SET_REFLECTED
      field set (put, accessed via reflection) - those references can be auto-added by dexdec
    • INVOKE_REFLECTED

      public static final DexReferenceType INVOKE_REFLECTED
      method invocation (via reflection) - those references can be auto-added by dexdec
  • Method Details

    • values

      public static DexReferenceType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static DexReferenceType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getId

      public int getId()
    • fromId

      public static DexReferenceType fromId(int id)
      Parameters:
      id -
      Returns:
      the type; never null (if a problem occurred, UNKNOWN is returned)