Enum Class RebaseOpcode
- All Implemented Interfaces:
Serializable
,Comparable<RebaseOpcode>
,Constable
Rebase opcodes
- See Also:
-
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 TypeMethodDescriptionstatic RebaseOpcode
forOpcode
(int opcode) Gets theRebaseOpcode
that corresponds to the given opcode valueint
Returns the opcode value.static DataType
Returns a new data type from this enum.static RebaseOpcode
Returns the enum constant of this class with the specified name.static RebaseOpcode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REBASE_OPCODE_DONE
-
REBASE_OPCODE_SET_TYPE_IMM
-
REBASE_OPCODE_SET_SEGMENT_AND_OFFSET_ULEB
-
REBASE_OPCODE_ADD_ADDR_ULEB
-
REBASE_OPCODE_ADD_ADDR_IMM_SCALED
-
REBASE_OPCODE_DO_REBASE_IMM_TIMES
-
REBASE_OPCODE_DO_REBASE_ULEB_TIMES
-
REBASE_OPCODE_DO_REBASE_ADD_ADDR_ULEB
-
REBASE_OPCODE_DO_REBASE_ULEB_TIMES_SKIPPING_ULEB
-
-
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
-
getOpcode
public int getOpcode()Returns the opcode value.- Returns:
- the opcode value
-
toDataType
Returns a new data type from this enum.- Returns:
- a new data type from this enum
-
forOpcode
Gets theRebaseOpcode
that corresponds to the given opcode value- Parameters:
opcode
- The opcode value- Returns:
- The
RebaseOpcode
that corresponds to the given opcode value, or null if it does not exist
-