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