Enum DWARFExpressionOperandType
- java.lang.Object
-
- java.lang.Enum<DWARFExpressionOperandType>
-
- ghidra.app.util.bin.format.dwarf4.expression.DWARFExpressionOperandType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DWARFExpressionOperandType>
public enum DWARFExpressionOperandType extends java.lang.Enum<DWARFExpressionOperandType>
Enumeration that represents the different type of operands that aopcode
can take.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DWARFExpressionOperandType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DWARFExpressionOperandType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.static java.lang.String
valueToString(long value, DWARFExpressionOperandType operandType)
-
-
-
Enum Constant Detail
-
U_LEB128
public static final DWARFExpressionOperandType U_LEB128
-
S_LEB128
public static final DWARFExpressionOperandType S_LEB128
-
S_BYTE
public static final DWARFExpressionOperandType S_BYTE
-
S_SHORT
public static final DWARFExpressionOperandType S_SHORT
-
S_INT
public static final DWARFExpressionOperandType S_INT
-
S_LONG
public static final DWARFExpressionOperandType S_LONG
-
U_BYTE
public static final DWARFExpressionOperandType U_BYTE
-
U_SHORT
public static final DWARFExpressionOperandType U_SHORT
-
U_INT
public static final DWARFExpressionOperandType U_INT
-
U_LONG
public static final DWARFExpressionOperandType U_LONG
-
ADDR
public static final DWARFExpressionOperandType ADDR
-
SIZED_BLOB
public static final DWARFExpressionOperandType SIZED_BLOB
-
DWARF_INT
public static final DWARFExpressionOperandType DWARF_INT
-
-
Method Detail
-
values
public static DWARFExpressionOperandType[] 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 (DWARFExpressionOperandType c : DWARFExpressionOperandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DWARFExpressionOperandType 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
-
valueToString
public static java.lang.String valueToString(long value, DWARFExpressionOperandType operandType)
-
-