Package ghidra.app.util.bin.format.dwarf
Enum Class DWARFIdentifierCase
- All Implemented Interfaces:
Serializable
,Comparable<DWARFIdentifierCase>
,Constable
DWARF identifier case consts from www.dwarfstd.org/doc/DWARF4.pdf
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DWARFIdentifierCase
find
(long key) Find the identifier case value given a Number value.int
getValue()
Get the integer value of this enum.static DWARFIdentifierCase
Returns the enum constant of this class with the specified name.static DWARFIdentifierCase[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DW_ID_case_sensitive
-
DW_ID_up_case
-
DW_ID_down_case
-
DW_ID_case_insensitive
-
-
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
-
getValue
public int getValue()Get the integer value of this enum.- Returns:
- the integer value of the enum
-
find
Find the identifier case value given a Number value.- Parameters:
key
- Number value to check- Returns:
- DWARFIdentifierCase enum if it exists
- Throws:
IllegalArgumentException
- if the key is not found
-