Enum DWARFForm

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<DWARFForm>

    public enum DWARFForm
    extends java.lang.Enum<DWARFForm>
    DWARF attribute encoding consts from www.dwarfstd.org/doc/DWARF4.pdf
    • Enum Constant Detail

      • DW_FORM_addr

        public static final DWARFForm DW_FORM_addr
      • DW_FORM_block2

        public static final DWARFForm DW_FORM_block2
      • DW_FORM_block4

        public static final DWARFForm DW_FORM_block4
      • DW_FORM_data2

        public static final DWARFForm DW_FORM_data2
      • DW_FORM_data4

        public static final DWARFForm DW_FORM_data4
      • DW_FORM_data8

        public static final DWARFForm DW_FORM_data8
      • DW_FORM_string

        public static final DWARFForm DW_FORM_string
      • DW_FORM_block

        public static final DWARFForm DW_FORM_block
      • DW_FORM_block1

        public static final DWARFForm DW_FORM_block1
      • DW_FORM_data1

        public static final DWARFForm DW_FORM_data1
      • DW_FORM_flag

        public static final DWARFForm DW_FORM_flag
      • DW_FORM_sdata

        public static final DWARFForm DW_FORM_sdata
      • DW_FORM_strp

        public static final DWARFForm DW_FORM_strp
      • DW_FORM_udata

        public static final DWARFForm DW_FORM_udata
      • DW_FORM_ref_addr

        public static final DWARFForm DW_FORM_ref_addr
      • DW_FORM_ref1

        public static final DWARFForm DW_FORM_ref1
      • DW_FORM_ref2

        public static final DWARFForm DW_FORM_ref2
      • DW_FORM_ref4

        public static final DWARFForm DW_FORM_ref4
      • DW_FORM_ref8

        public static final DWARFForm DW_FORM_ref8
      • DW_FORM_ref_udata

        public static final DWARFForm DW_FORM_ref_udata
      • DW_FORM_indirect

        public static final DWARFForm DW_FORM_indirect
      • DW_FORM_sec_offset

        public static final DWARFForm DW_FORM_sec_offset
      • DW_FORM_exprloc

        public static final DWARFForm DW_FORM_exprloc
      • DW_FORM_flag_present

        public static final DWARFForm DW_FORM_flag_present
      • DW_FORM_ref_sig8

        public static final DWARFForm DW_FORM_ref_sig8
    • Method Detail

      • values

        public static DWARFForm[] 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 (DWARFForm c : DWARFForm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DWARFForm 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 name
        java.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 DWARFForm find​(int key)
        Find the form value given a Number value.
        Parameters:
        key - Number value to check
        Returns:
        DWARFForm enum if it exists
        Throws:
        java.lang.IllegalArgumentException - if the key is not found