Enum SectionItem.SectionType
- java.lang.Object
-
- java.lang.Enum<SectionItem.SectionType>
-
- com.googlecode.d2j.dex.writer.item.SectionItem.SectionType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SectionItem.SectionType>
- Enclosing class:
- SectionItem<T extends BaseItem>
public static enum SectionItem.SectionType extends java.lang.Enum<SectionItem.SectionType>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SectionItem.SectionTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SectionItem.SectionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TYPE_HEADER_ITEM
public static final SectionItem.SectionType TYPE_HEADER_ITEM
-
TYPE_STRING_ID_ITEM
public static final SectionItem.SectionType TYPE_STRING_ID_ITEM
-
TYPE_TYPE_ID_ITEM
public static final SectionItem.SectionType TYPE_TYPE_ID_ITEM
-
TYPE_PROTO_ID_ITEM
public static final SectionItem.SectionType TYPE_PROTO_ID_ITEM
-
TYPE_FIELD_ID_ITEM
public static final SectionItem.SectionType TYPE_FIELD_ID_ITEM
-
TYPE_METHOD_ID_ITEM
public static final SectionItem.SectionType TYPE_METHOD_ID_ITEM
-
TYPE_CLASS_DEF_ITEM
public static final SectionItem.SectionType TYPE_CLASS_DEF_ITEM
-
TYPE_CALL_SITE_ID_ITEM
public static final SectionItem.SectionType TYPE_CALL_SITE_ID_ITEM
-
TYPE_METHOD_HANDLE_ITEM
public static final SectionItem.SectionType TYPE_METHOD_HANDLE_ITEM
-
TYPE_MAP_LIST
public static final SectionItem.SectionType TYPE_MAP_LIST
-
TYPE_TYPE_LIST
public static final SectionItem.SectionType TYPE_TYPE_LIST
-
TYPE_ANNOTATION_SET_REF_LIST
public static final SectionItem.SectionType TYPE_ANNOTATION_SET_REF_LIST
-
TYPE_ANNOTATION_SET_ITEM
public static final SectionItem.SectionType TYPE_ANNOTATION_SET_ITEM
-
TYPE_CLASS_DATA_ITEM
public static final SectionItem.SectionType TYPE_CLASS_DATA_ITEM
-
TYPE_CODE_ITEM
public static final SectionItem.SectionType TYPE_CODE_ITEM
-
TYPE_STRING_DATA_ITEM
public static final SectionItem.SectionType TYPE_STRING_DATA_ITEM
-
TYPE_DEBUG_INFO_ITEM
public static final SectionItem.SectionType TYPE_DEBUG_INFO_ITEM
-
TYPE_ANNOTATION_ITEM
public static final SectionItem.SectionType TYPE_ANNOTATION_ITEM
-
TYPE_ENCODED_ARRAY_ITEM
public static final SectionItem.SectionType TYPE_ENCODED_ARRAY_ITEM
-
TYPE_ANNOTATIONS_DIRECTORY_ITEM
public static final SectionItem.SectionType TYPE_ANNOTATIONS_DIRECTORY_ITEM
-
-
Method Detail
-
values
public static SectionItem.SectionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SectionItem.SectionType c : SectionItem.SectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SectionItem.SectionType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-