|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ItemType>
com.android.dx.dex.file.ItemType
public enum ItemType
Enumeration of all the top-level item types.
| Method Summary | |
|---|---|
int |
getMapValue()
Gets the map value. |
String |
getTypeName()
Gets the type name. |
String |
toHuman()
Return the "human" string form of this instance. |
static ItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ItemType[] |
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 ItemType TYPE_HEADER_ITEM
public static final ItemType TYPE_STRING_ID_ITEM
public static final ItemType TYPE_TYPE_ID_ITEM
public static final ItemType TYPE_PROTO_ID_ITEM
public static final ItemType TYPE_FIELD_ID_ITEM
public static final ItemType TYPE_METHOD_ID_ITEM
public static final ItemType TYPE_CLASS_DEF_ITEM
public static final ItemType TYPE_MAP_LIST
public static final ItemType TYPE_TYPE_LIST
public static final ItemType TYPE_ANNOTATION_SET_REF_LIST
public static final ItemType TYPE_ANNOTATION_SET_ITEM
public static final ItemType TYPE_CLASS_DATA_ITEM
public static final ItemType TYPE_CODE_ITEM
public static final ItemType TYPE_STRING_DATA_ITEM
public static final ItemType TYPE_DEBUG_INFO_ITEM
public static final ItemType TYPE_ANNOTATION_ITEM
public static final ItemType TYPE_ENCODED_ARRAY_ITEM
public static final ItemType TYPE_ANNOTATIONS_DIRECTORY_ITEM
public static final ItemType TYPE_MAP_ITEM
public static final ItemType TYPE_TYPE_ITEM
public static final ItemType TYPE_EXCEPTION_HANDLER_ITEM
public static final ItemType TYPE_ANNOTATION_SET_REF_ITEM
| Method Detail |
|---|
public static ItemType[] values()
for (ItemType c : ItemType.values()) System.out.println(c);
public static ItemType 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 nullpublic int getMapValue()
public String getTypeName()
non-null; the type namepublic String toHuman()
toString().
toHuman in interface ToHumannon-null; the human string form
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||