Package ghidra.app.util.bin.format.dwarf
Enum Class DWARFAccessibility
- All Implemented Interfaces:
Serializable
,Comparable<DWARFAccessibility>
,Constable
DWARF accessibility 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 DWARFAccessibility
Find the accessibility value given a Number value.int
getValue()
Get the integer value of this enum.static DWARFAccessibility
Returns the enum constant of this class with the specified name.static DWARFAccessibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DW_ACCESS_public
-
DW_ACCESS_protected
-
DW_ACCESS_private
-
-
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 accessibility value given a Number value.- Parameters:
key
- Number value to check- Returns:
- DWARFAccessibility enum if it exists
- Throws:
IllegalArgumentException
- if the key is not found
-