Package com.android.dx.dex.file
Enum Class ItemType
- All Implemented Interfaces:
ToHuman
,Serializable
,Comparable<ItemType>
,Constable
Enumeration of all the top-level item types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionint
Gets the map value.Gets the type name.toHuman()
Return the "human" string form of this instance.static ItemType
Returns the enum constant of this class with the specified name.static ItemType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE_HEADER_ITEM
-
TYPE_STRING_ID_ITEM
-
TYPE_TYPE_ID_ITEM
-
TYPE_PROTO_ID_ITEM
-
TYPE_FIELD_ID_ITEM
-
TYPE_METHOD_ID_ITEM
-
TYPE_CLASS_DEF_ITEM
-
TYPE_CALL_SITE_ID_ITEM
-
TYPE_METHOD_HANDLE_ITEM
-
TYPE_MAP_LIST
-
TYPE_TYPE_LIST
-
TYPE_ANNOTATION_SET_REF_LIST
-
TYPE_ANNOTATION_SET_ITEM
-
TYPE_CLASS_DATA_ITEM
-
TYPE_CODE_ITEM
-
TYPE_STRING_DATA_ITEM
-
TYPE_DEBUG_INFO_ITEM
-
TYPE_ANNOTATION_ITEM
-
TYPE_ENCODED_ARRAY_ITEM
-
TYPE_ANNOTATIONS_DIRECTORY_ITEM
-
TYPE_MAP_ITEM
-
TYPE_TYPE_ITEM
-
TYPE_EXCEPTION_HANDLER_ITEM
-
TYPE_ANNOTATION_SET_REF_ITEM
-
-
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
-
getMapValue
public int getMapValue()Gets the map value.- Returns:
- the map value
-
getTypeName
Gets the type name.- Returns:
non-null;
the type name
-
toHuman
Return the "human" string form of this instance. This is generally less "debuggy" thantoString()
.
-