Enum Class DWARFChildren

java.lang.Object
java.lang.Enum<DWARFChildren>
ghidra.app.util.bin.format.dwarf4.encoding.DWARFChildren
All Implemented Interfaces:
Serializable, Comparable<DWARFChildren>, Constable

public enum DWARFChildren extends Enum<DWARFChildren>
DWARF child determination consts from www.dwarfstd.org/doc/DWARF4.pdf.

Yes, its a direct equiv to a boolean, but its in the spec.

  • Enum Constant Details

    • DW_CHILDREN_no

      public static final DWARFChildren DW_CHILDREN_no
    • DW_CHILDREN_yes

      public static final DWARFChildren DW_CHILDREN_yes
  • Method Details

    • values

      public static DWARFChildren[] 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

      public static DWARFChildren valueOf(String name)
      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 name
      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 DWARFChildren find(Number key)
      Find the children value given a Number value.
      Parameters:
      key - Number value to check
      Returns:
      DWARFChildren enum if it exists
      Throws:
      IllegalArgumentException - if the key is not found