Package proguard.dexfile.reader
Enum InstructionIndexType
- java.lang.Object
-
- java.lang.Enum<InstructionIndexType>
-
- proguard.dexfile.reader.InstructionIndexType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<InstructionIndexType>
public enum InstructionIndexType extends java.lang.Enum<InstructionIndexType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description kIndexCallSiteRef
kIndexFieldOffset
kIndexFieldRef
kIndexInlineMethod
kIndexMethodAndProtoRef
kIndexMethodRef
kIndexNone
kIndexStringRef
kIndexTypeRef
kIndexUnknown
kIndexVaries
kIndexVtableOffset
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InstructionIndexType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static InstructionIndexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
kIndexUnknown
public static final InstructionIndexType kIndexUnknown
-
kIndexNone
public static final InstructionIndexType kIndexNone
-
kIndexVaries
public static final InstructionIndexType kIndexVaries
-
kIndexTypeRef
public static final InstructionIndexType kIndexTypeRef
-
kIndexStringRef
public static final InstructionIndexType kIndexStringRef
-
kIndexMethodRef
public static final InstructionIndexType kIndexMethodRef
-
kIndexFieldRef
public static final InstructionIndexType kIndexFieldRef
-
kIndexInlineMethod
public static final InstructionIndexType kIndexInlineMethod
-
kIndexVtableOffset
public static final InstructionIndexType kIndexVtableOffset
-
kIndexFieldOffset
public static final InstructionIndexType kIndexFieldOffset
-
kIndexMethodAndProtoRef
public static final InstructionIndexType kIndexMethodAndProtoRef
-
kIndexCallSiteRef
public static final InstructionIndexType kIndexCallSiteRef
-
-
Method Detail
-
values
public static InstructionIndexType[] 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 (InstructionIndexType c : InstructionIndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InstructionIndexType 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
-
-