Enum DWARFIdentifierCase
- java.lang.Object
-
- java.lang.Enum<DWARFIdentifierCase>
-
- ghidra.app.util.bin.format.dwarf4.encoding.DWARFIdentifierCase
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DWARFIdentifierCase>
public enum DWARFIdentifierCase extends java.lang.Enum<DWARFIdentifierCase>
DWARF identifier case consts from www.dwarfstd.org/doc/DWARF4.pdf
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DW_ID_case_insensitive
DW_ID_case_sensitive
DW_ID_down_case
DW_ID_up_case
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DWARFIdentifierCase
find(long key)
Find the identifier case value given a Number value.int
getValue()
Get the integer value of this enum.static DWARFIdentifierCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DWARFIdentifierCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DW_ID_case_sensitive
public static final DWARFIdentifierCase DW_ID_case_sensitive
-
DW_ID_up_case
public static final DWARFIdentifierCase DW_ID_up_case
-
DW_ID_down_case
public static final DWARFIdentifierCase DW_ID_down_case
-
DW_ID_case_insensitive
public static final DWARFIdentifierCase DW_ID_case_insensitive
-
-
Method Detail
-
values
public static DWARFIdentifierCase[] 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 (DWARFIdentifierCase c : DWARFIdentifierCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DWARFIdentifierCase 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
-
getValue
public int getValue()
Get the integer value of this enum.- Returns:
- the integer value of the enum
-
find
public static DWARFIdentifierCase find(long key)
Find the identifier case value given a Number value.- Parameters:
key
- Number value to check- Returns:
- DWARFIdentifierCase enum if it exists
- Throws:
java.lang.IllegalArgumentException
- if the key is not found
-
-