|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<IndexType>
com.android.dx.io.IndexType
public enum IndexType
The various types that an index in a Dalvik instruction might refer to.
| Enum Constant Summary | |
|---|---|
FIELD_OFFSET
direct field offset (for static linked field accesses) |
|
FIELD_REF
field reference index |
|
INLINE_METHOD
inline method index (for inline linked method invocations) |
|
METHOD_REF
method reference index |
|
NONE
no index used |
|
STRING_REF
string reference index |
|
TYPE_REF
type reference index |
|
UNKNOWN
"Unknown." Used for undefined opcodes. |
|
VARIES
"It depends." Used for throw-verification-error. |
|
VTABLE_OFFSET
direct vtable offset (for static linked method invocations) |
|
| Method Summary | |
|---|---|
static IndexType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static IndexType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IndexType UNKNOWN
public static final IndexType NONE
public static final IndexType VARIES
throw-verification-error.
public static final IndexType TYPE_REF
public static final IndexType STRING_REF
public static final IndexType METHOD_REF
public static final IndexType FIELD_REF
public static final IndexType INLINE_METHOD
public static final IndexType VTABLE_OFFSET
public static final IndexType FIELD_OFFSET
| Method Detail |
|---|
public static IndexType[] values()
for (IndexType c : IndexType.values()) System.out.println(c);
public static IndexType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||