Package com.android.dx.io
Enum Class IndexType
- All Implemented Interfaces:
Serializable
,Comparable<IndexType>
,Constable
The various types that an index in a Dalvik instruction might refer to.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptioncall site reference indexdirect field offset (for static linked field accesses)field reference indexinline method index (for inline linked method invocations)method index and a proto indexmethod handle reference index (for loading constant method handles)method reference indexno index usedproto reference index (for loading constant proto ref)string reference indextype reference index"Unknown." Used for undefined opcodes."It depends." Used forthrow-verification-error
.direct vtable offset (for static linked method invocations) -
Method Summary
-
Enum Constant Details
-
UNKNOWN
"Unknown." Used for undefined opcodes. -
NONE
no index used -
VARIES
"It depends." Used forthrow-verification-error
. -
TYPE_REF
type reference index -
STRING_REF
string reference index -
METHOD_REF
method reference index -
FIELD_REF
field reference index -
METHOD_AND_PROTO_REF
method index and a proto index -
CALL_SITE_REF
call site reference index -
INLINE_METHOD
inline method index (for inline linked method invocations) -
VTABLE_OFFSET
direct vtable offset (for static linked method invocations) -
FIELD_OFFSET
direct field offset (for static linked field accesses) -
METHOD_HANDLE_REF
method handle reference index (for loading constant method handles) -
PROTO_REF
proto reference index (for loading constant proto ref)
-
-
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
-