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