lib.dwfl
Class DwTag

java.lang.Object
  extended by java.lang.Number
      extended by lib.dwfl.DwTag
All Implemented Interfaces:
Serializable, Comparable

public class DwTag
extends Number
implements Comparable

See Also:
Serialized Form

Field Summary
static DwTag ACCESS_DECLARATION
           
static int ACCESS_DECLARATION_
           
static DwTag ARRAY_TYPE
           
static int ARRAY_TYPE_
           
static DwTag BASE_TYPE
           
static int BASE_TYPE_
           
static DwTag CATCH_BLOCK
           
static int CATCH_BLOCK_
           
static DwTag CLASS_TEMPLATE
           
static int CLASS_TEMPLATE_
           
static DwTag CLASS_TYPE
           
static int CLASS_TYPE_
           
static DwTag COMMON_BLOCK
           
static int COMMON_BLOCK_
           
static DwTag COMMON_INCLUSION
           
static int COMMON_INCLUSION_
           
static DwTag COMPILE_UNIT
           
static int COMPILE_UNIT_
           
static DwTag CONDITION
           
static int CONDITION_
           
static DwTag CONST_TYPE
           
static int CONST_TYPE_
           
static DwTag CONSTANT
           
static int CONSTANT_
           
static DwTag DWARF_PROCEDURE
           
static int DWARF_PROCEDURE_
           
static DwTag ENTRY_POINT
           
static int ENTRY_POINT_
           
static DwTag ENUMERATION_TYPE
           
static int ENUMERATION_TYPE_
           
static DwTag ENUMERATOR
           
static int ENUMERATOR_
           
static DwTag FILE_TYPE
           
static int FILE_TYPE_
           
static DwTag FORMAL_PARAMETER
           
static int FORMAL_PARAMETER_
           
static DwTag FORMAT_LABEL
           
static int FORMAT_LABEL_
           
static DwTag FRIEND
           
static int FRIEND_
           
static DwTag FUNCTION_TEMPLATE
           
static int FUNCTION_TEMPLATE_
           
static DwTag HI_USER
           
static int HI_USER_
           
static DwTag IMPORTED_DECLARATION
           
static int IMPORTED_DECLARATION_
           
static DwTag IMPORTED_MODULE
           
static int IMPORTED_MODULE_
           
static DwTag IMPORTED_UNIT
           
static int IMPORTED_UNIT_
           
static DwTag INHERITANCE
           
static int INHERITANCE_
           
static DwTag INLINED_SUBROUTINE
           
static int INLINED_SUBROUTINE_
           
static DwTag INTERFACE_TYPE
           
static int INTERFACE_TYPE_
           
static DwTag LABEL
           
static int LABEL_
           
static DwTag LEXICAL_BLOCK
           
static int LEXICAL_BLOCK_
           
static DwTag LO_USER
           
static int LO_USER_
           
static DwTag MEMBER
           
static int MEMBER_
           
static DwTag MIPS_LOOP
           
static int MIPS_LOOP_
           
static DwTag MODULE
           
static int MODULE_
           
static DwTag MUTABLE_TYPE
           
static int MUTABLE_TYPE_
           
static DwTag NAMELIST
           
static int NAMELIST_
           
static DwTag NAMELIST_ITEM
           
static int NAMELIST_ITEM_
           
static DwTag NAMESPACE
           
static int NAMESPACE_
           
static DwTag PACKED_TYPE
           
static int PACKED_TYPE_
           
static DwTag PARTIAL_UNIT
           
static int PARTIAL_UNIT_
           
static DwTag POINTER_TYPE
           
static int POINTER_TYPE_
           
static DwTag PTR_TO_MEMBER_TYPE
           
static int PTR_TO_MEMBER_TYPE_
           
static DwTag REFERENCE_TYPE
           
static int REFERENCE_TYPE_
           
static DwTag RESTRICT_TYPE
           
static int RESTRICT_TYPE_
           
static DwTag SET_TYPE
           
static int SET_TYPE_
           
static DwTag SHARED_TYPE
           
static int SHARED_TYPE_
           
static DwTag STRING_TYPE
           
static int STRING_TYPE_
           
static DwTag STRUCTURE_TYPE
           
static int STRUCTURE_TYPE_
           
static DwTag SUBPROGRAM
           
static int SUBPROGRAM_
           
static DwTag SUBRANGE_TYPE
           
static int SUBRANGE_TYPE_
           
static DwTag SUBROUTINE_TYPE
           
static int SUBROUTINE_TYPE_
           
static DwTag TEMPLATE_TYPE_PARAMETER
           
static int TEMPLATE_TYPE_PARAMETER_
           
static DwTag TEMPLATE_VALUE_PARAMETER
           
static int TEMPLATE_VALUE_PARAMETER_
           
static DwTag THROWN_TYPE
           
static int THROWN_TYPE_
           
static DwTag TRY_BLOCK
           
static int TRY_BLOCK_
           
static DwTag TYPEDEF
           
static int TYPEDEF_
           
static DwTag UNION_TYPE
           
static int UNION_TYPE_
           
static DwTag UNSPECIFIED_PARAMETERS
           
static int UNSPECIFIED_PARAMETERS_
           
static DwTag UNSPECIFIED_TYPE
           
static int UNSPECIFIED_TYPE_
           
static DwTag VARIABLE
           
static int VARIABLE_
           
static DwTag VARIANT
           
static int VARIANT_
           
static DwTag VARIANT_PART
           
static int VARIANT_PART_
           
static DwTag VOLATILE_TYPE
           
static int VOLATILE_TYPE_
           
static DwTag WITH_STMT
           
static int WITH_STMT_
           
 
Method Summary
 int compareTo(Object o)
           
 double doubleValue()
          Return the equivalent of the enum.
 boolean equals(Object o)
          Return true if OBJECT has the same value.
 float floatValue()
          Return the equivalent of the enum.
 int hashCode()
           
 int intValue()
          Return the equivalent of the enum.
 long longValue()
          Return the equivalent of the enum.
 String toName()
          Return the name of just the enum.
static String toName(long i)
          Returns just the name part of the num corresponding to I.
static String toName(long i, String def)
          Returns just the name part of the num corresponding to I, or DEF is there is no such field.
 String toPrint()
          Return a printable version of the enum.
static String toPrintString(long i)
          Returns the printable (or user readable) name for the field corresponding to the value I.
static String toPrintString(long i, String def)
          Returns the printable (or user readable) name for the field corresponding to the value I, or DEF is there is no such field.
 String toString()
          Return the qualified name of the enum.
static String toString(long i)
          Returns the full underscore delimited name of the field corresponding to the value I.
static DwTag valueOf(long i)
          Return the DwTag object that matches the integer.
static DwTag valueOf(String string)
          Return the DwTag object that matches the string.
static DwTag[] values()
          Return an array of all the DwTag elements.
 
Methods inherited from class java.lang.Number
byteValue, shortValue
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ARRAY_TYPE_

public static final int ARRAY_TYPE_
See Also:
Constant Field Values

ARRAY_TYPE

public static final DwTag ARRAY_TYPE

CLASS_TYPE_

public static final int CLASS_TYPE_
See Also:
Constant Field Values

CLASS_TYPE

public static final DwTag CLASS_TYPE

ENTRY_POINT_

public static final int ENTRY_POINT_
See Also:
Constant Field Values

ENTRY_POINT

public static final DwTag ENTRY_POINT

ENUMERATION_TYPE_

public static final int ENUMERATION_TYPE_
See Also:
Constant Field Values

ENUMERATION_TYPE

public static final DwTag ENUMERATION_TYPE

FORMAL_PARAMETER_

public static final int FORMAL_PARAMETER_
See Also:
Constant Field Values

FORMAL_PARAMETER

public static final DwTag FORMAL_PARAMETER

IMPORTED_DECLARATION_

public static final int IMPORTED_DECLARATION_
See Also:
Constant Field Values

IMPORTED_DECLARATION

public static final DwTag IMPORTED_DECLARATION

LABEL_

public static final int LABEL_
See Also:
Constant Field Values

LABEL

public static final DwTag LABEL

LEXICAL_BLOCK_

public static final int LEXICAL_BLOCK_
See Also:
Constant Field Values

LEXICAL_BLOCK

public static final DwTag LEXICAL_BLOCK

MEMBER_

public static final int MEMBER_
See Also:
Constant Field Values

MEMBER

public static final DwTag MEMBER

POINTER_TYPE_

public static final int POINTER_TYPE_
See Also:
Constant Field Values

POINTER_TYPE

public static final DwTag POINTER_TYPE

REFERENCE_TYPE_

public static final int REFERENCE_TYPE_
See Also:
Constant Field Values

REFERENCE_TYPE

public static final DwTag REFERENCE_TYPE

COMPILE_UNIT_

public static final int COMPILE_UNIT_
See Also:
Constant Field Values

COMPILE_UNIT

public static final DwTag COMPILE_UNIT

STRING_TYPE_

public static final int STRING_TYPE_
See Also:
Constant Field Values

STRING_TYPE

public static final DwTag STRING_TYPE

STRUCTURE_TYPE_

public static final int STRUCTURE_TYPE_
See Also:
Constant Field Values

STRUCTURE_TYPE

public static final DwTag STRUCTURE_TYPE

SUBROUTINE_TYPE_

public static final int SUBROUTINE_TYPE_
See Also:
Constant Field Values

SUBROUTINE_TYPE

public static final DwTag SUBROUTINE_TYPE

TYPEDEF_

public static final int TYPEDEF_
See Also:
Constant Field Values

TYPEDEF

public static final DwTag TYPEDEF

UNION_TYPE_

public static final int UNION_TYPE_
See Also:
Constant Field Values

UNION_TYPE

public static final DwTag UNION_TYPE

UNSPECIFIED_PARAMETERS_

public static final int UNSPECIFIED_PARAMETERS_
See Also:
Constant Field Values

UNSPECIFIED_PARAMETERS

public static final DwTag UNSPECIFIED_PARAMETERS

VARIANT_

public static final int VARIANT_
See Also:
Constant Field Values

VARIANT

public static final DwTag VARIANT

COMMON_BLOCK_

public static final int COMMON_BLOCK_
See Also:
Constant Field Values

COMMON_BLOCK

public static final DwTag COMMON_BLOCK

COMMON_INCLUSION_

public static final int COMMON_INCLUSION_
See Also:
Constant Field Values

COMMON_INCLUSION

public static final DwTag COMMON_INCLUSION

INHERITANCE_

public static final int INHERITANCE_
See Also:
Constant Field Values

INHERITANCE

public static final DwTag INHERITANCE

INLINED_SUBROUTINE_

public static final int INLINED_SUBROUTINE_
See Also:
Constant Field Values

INLINED_SUBROUTINE

public static final DwTag INLINED_SUBROUTINE

MODULE_

public static final int MODULE_
See Also:
Constant Field Values

MODULE

public static final DwTag MODULE

PTR_TO_MEMBER_TYPE_

public static final int PTR_TO_MEMBER_TYPE_
See Also:
Constant Field Values

PTR_TO_MEMBER_TYPE

public static final DwTag PTR_TO_MEMBER_TYPE

SET_TYPE_

public static final int SET_TYPE_
See Also:
Constant Field Values

SET_TYPE

public static final DwTag SET_TYPE

SUBRANGE_TYPE_

public static final int SUBRANGE_TYPE_
See Also:
Constant Field Values

SUBRANGE_TYPE

public static final DwTag SUBRANGE_TYPE

WITH_STMT_

public static final int WITH_STMT_
See Also:
Constant Field Values

WITH_STMT

public static final DwTag WITH_STMT

ACCESS_DECLARATION_

public static final int ACCESS_DECLARATION_
See Also:
Constant Field Values

ACCESS_DECLARATION

public static final DwTag ACCESS_DECLARATION

BASE_TYPE_

public static final int BASE_TYPE_
See Also:
Constant Field Values

BASE_TYPE

public static final DwTag BASE_TYPE

CATCH_BLOCK_

public static final int CATCH_BLOCK_
See Also:
Constant Field Values

CATCH_BLOCK

public static final DwTag CATCH_BLOCK

CONST_TYPE_

public static final int CONST_TYPE_
See Also:
Constant Field Values

CONST_TYPE

public static final DwTag CONST_TYPE

CONSTANT_

public static final int CONSTANT_
See Also:
Constant Field Values

CONSTANT

public static final DwTag CONSTANT

ENUMERATOR_

public static final int ENUMERATOR_
See Also:
Constant Field Values

ENUMERATOR

public static final DwTag ENUMERATOR

FILE_TYPE_

public static final int FILE_TYPE_
See Also:
Constant Field Values

FILE_TYPE

public static final DwTag FILE_TYPE

FRIEND_

public static final int FRIEND_
See Also:
Constant Field Values

FRIEND

public static final DwTag FRIEND

NAMELIST_

public static final int NAMELIST_
See Also:
Constant Field Values

NAMELIST

public static final DwTag NAMELIST

NAMELIST_ITEM_

public static final int NAMELIST_ITEM_
See Also:
Constant Field Values

NAMELIST_ITEM

public static final DwTag NAMELIST_ITEM

PACKED_TYPE_

public static final int PACKED_TYPE_
See Also:
Constant Field Values

PACKED_TYPE

public static final DwTag PACKED_TYPE

SUBPROGRAM_

public static final int SUBPROGRAM_
See Also:
Constant Field Values

SUBPROGRAM

public static final DwTag SUBPROGRAM

TEMPLATE_TYPE_PARAMETER_

public static final int TEMPLATE_TYPE_PARAMETER_
See Also:
Constant Field Values

TEMPLATE_TYPE_PARAMETER

public static final DwTag TEMPLATE_TYPE_PARAMETER

TEMPLATE_VALUE_PARAMETER_

public static final int TEMPLATE_VALUE_PARAMETER_
See Also:
Constant Field Values

TEMPLATE_VALUE_PARAMETER

public static final DwTag TEMPLATE_VALUE_PARAMETER

THROWN_TYPE_

public static final int THROWN_TYPE_
See Also:
Constant Field Values

THROWN_TYPE

public static final DwTag THROWN_TYPE

TRY_BLOCK_

public static final int TRY_BLOCK_
See Also:
Constant Field Values

TRY_BLOCK

public static final DwTag TRY_BLOCK

VARIANT_PART_

public static final int VARIANT_PART_
See Also:
Constant Field Values

VARIANT_PART

public static final DwTag VARIANT_PART

VARIABLE_

public static final int VARIABLE_
See Also:
Constant Field Values

VARIABLE

public static final DwTag VARIABLE

VOLATILE_TYPE_

public static final int VOLATILE_TYPE_
See Also:
Constant Field Values

VOLATILE_TYPE

public static final DwTag VOLATILE_TYPE

DWARF_PROCEDURE_

public static final int DWARF_PROCEDURE_
See Also:
Constant Field Values

DWARF_PROCEDURE

public static final DwTag DWARF_PROCEDURE

RESTRICT_TYPE_

public static final int RESTRICT_TYPE_
See Also:
Constant Field Values

RESTRICT_TYPE

public static final DwTag RESTRICT_TYPE

INTERFACE_TYPE_

public static final int INTERFACE_TYPE_
See Also:
Constant Field Values

INTERFACE_TYPE

public static final DwTag INTERFACE_TYPE

NAMESPACE_

public static final int NAMESPACE_
See Also:
Constant Field Values

NAMESPACE

public static final DwTag NAMESPACE

IMPORTED_MODULE_

public static final int IMPORTED_MODULE_
See Also:
Constant Field Values

IMPORTED_MODULE

public static final DwTag IMPORTED_MODULE

UNSPECIFIED_TYPE_

public static final int UNSPECIFIED_TYPE_
See Also:
Constant Field Values

UNSPECIFIED_TYPE

public static final DwTag UNSPECIFIED_TYPE

PARTIAL_UNIT_

public static final int PARTIAL_UNIT_
See Also:
Constant Field Values

PARTIAL_UNIT

public static final DwTag PARTIAL_UNIT

IMPORTED_UNIT_

public static final int IMPORTED_UNIT_
See Also:
Constant Field Values

IMPORTED_UNIT

public static final DwTag IMPORTED_UNIT

MUTABLE_TYPE_

public static final int MUTABLE_TYPE_
See Also:
Constant Field Values

MUTABLE_TYPE

public static final DwTag MUTABLE_TYPE

CONDITION_

public static final int CONDITION_
See Also:
Constant Field Values

CONDITION

public static final DwTag CONDITION

SHARED_TYPE_

public static final int SHARED_TYPE_
See Also:
Constant Field Values

SHARED_TYPE

public static final DwTag SHARED_TYPE

LO_USER_

public static final int LO_USER_
See Also:
Constant Field Values

LO_USER

public static final DwTag LO_USER

MIPS_LOOP_

public static final int MIPS_LOOP_
See Also:
Constant Field Values

MIPS_LOOP

public static final DwTag MIPS_LOOP

FORMAT_LABEL_

public static final int FORMAT_LABEL_
See Also:
Constant Field Values

FORMAT_LABEL

public static final DwTag FORMAT_LABEL

FUNCTION_TEMPLATE_

public static final int FUNCTION_TEMPLATE_
See Also:
Constant Field Values

FUNCTION_TEMPLATE

public static final DwTag FUNCTION_TEMPLATE

CLASS_TEMPLATE_

public static final int CLASS_TEMPLATE_
See Also:
Constant Field Values

CLASS_TEMPLATE

public static final DwTag CLASS_TEMPLATE

HI_USER_

public static final int HI_USER_
See Also:
Constant Field Values

HI_USER

public static final DwTag HI_USER
Method Detail

toString

public String toString()
Return the qualified name of the enum.

Overrides:
toString in class Object

toPrint

public String toPrint()
Return a printable version of the enum.


toName

public String toName()
Return the name of just the enum.


equals

public boolean equals(Object o)
Return true if OBJECT has the same value.

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

valueOf

public static DwTag valueOf(String string)
Return the DwTag object that matches the string.


valueOf

public static DwTag valueOf(long i)
Return the DwTag object that matches the integer.


values

public static DwTag[] values()
Return an array of all the DwTag elements.


toString

public static String toString(long i)
Returns the full underscore delimited name of the field corresponding to the value I.


toPrintString

public static String toPrintString(long i)
Returns the printable (or user readable) name for the field corresponding to the value I.


toPrintString

public static String toPrintString(long i,
                                   String def)
Returns the printable (or user readable) name for the field corresponding to the value I, or DEF is there is no such field.


toName

public static String toName(long i)
Returns just the name part of the num corresponding to I.


toName

public static String toName(long i,
                            String def)
Returns just the name part of the num corresponding to I, or DEF is there is no such field.


intValue

public int intValue()
Return the equivalent of the enum.

Specified by:
intValue in class Number

longValue

public long longValue()
Return the equivalent of the enum.

Specified by:
longValue in class Number

floatValue

public float floatValue()
Return the equivalent of the enum.

Specified by:
floatValue in class Number

doubleValue

public double doubleValue()
Return the equivalent of the enum.

Specified by:
doubleValue in class Number