Enum Class DexReferenceType
- All Implemented Interfaces:
Serializable
,Comparable<DexReferenceType>
,Constable
Types of Dex references held in
IDexAddress
objects.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionallocation of an object or arrayfield getfield get (accessed via reflection) - those references can be auto-added by dexdeca getter, i.e.method invocationmethod invocation (via reflection) - those references can be auto-added by dexdecan invoker, i.e.meta referencesimple referencethe object is referenced via reflection - those references can be auto-added by dexdecfield set (put)field set (put, accessed via reflection) - those references can be auto-added by dexdeca setter, i.e. -
Method Summary
Modifier and TypeMethodDescriptionstatic DexReferenceType
fromId
(int id) int
getId()
static DexReferenceType
Returns the enum constant of this class with the specified name.static DexReferenceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
PURE
simple reference -
META
meta reference -
GET
field get -
SET
field set (put) -
INVOKE
method invocation -
GETTER
a getter, i.e. a synthetic method used to get a field -
SETTER
a setter, i.e. a synthetic method used to set a field -
INVOKER
an invoker, i.e. a synthetic method used to invoke a method -
ALLOC
allocation of an object or array -
REFLECTED
the object is referenced via reflection - those references can be auto-added by dexdec -
GET_REFLECTED
field get (accessed via reflection) - those references can be auto-added by dexdec -
SET_REFLECTED
field set (put, accessed via reflection) - those references can be auto-added by dexdec -
INVOKE_REFLECTED
method invocation (via reflection) - those references can be auto-added by dexdec
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getId
public int getId() -
fromId
- Parameters:
id
-- Returns:
- the type; never null (if a problem occurred, UNKNOWN is returned)
-