Enum Class DWARFAccessibility

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

public enum DWARFAccessibility extends Enum<DWARFAccessibility>
DWARF accessibility consts from www.dwarfstd.org/doc/DWARF4.pdf
  • Enum Constant Details

  • Method Details

    • values

      public static DWARFAccessibility[] 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 DWARFAccessibility 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 DWARFAccessibility find(Number key)
      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