Interface IDIE
- All Known Subinterfaces:
IDwCompileUnit
DWARF Debugging Information Entry
-
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(Dwarf.DwarfAttribute attribute) Retrieve an attributegetAttribute
(String name) Retrieve an attribute by its nameThe attribute name DW_AT_name or null if noneAll attributes of thisIDIE
getChildAtOffset
(long offset) Retrieve the child at this offsetAll children of thisIDIE
Retrieve the parent Compile UnitRetrieve the attribute name DW_AT_name preceded by its DW_TAG_namespace (DW_TAG_structure_type, DW_TAG_union_type, DW_TAG_class_type), if anyRetrieve the full DW_TAG_namespace hierarchy, if anylong
Retrieve offset of thisIDIE
in the .debug_info sectionTheIDIE
parent.getReference
(IDIEAttribute attribute) Retrieve theIDIE
referenced by this attribute (if any).Retrieve the specification of thisIDIE
.Retrieve the tag name or hex value if unknown
-
Method Details
-
getOffset
long getOffset()Retrieve offset of thisIDIE
in the .debug_info section- Returns:
- offset
-
getTagName
String getTagName()Retrieve the tag name or hex value if unknown- Returns:
- tag name
-
getAttributeName
String getAttributeName()The attribute name DW_AT_name or null if none- Returns:
- attribute name
-
getNamespace
String getNamespace()Retrieve the full DW_TAG_namespace hierarchy, if any- Returns:
- namespace
-
getFullName
String getFullName()Retrieve the attribute name DW_AT_name preceded by its DW_TAG_namespace (DW_TAG_structure_type, DW_TAG_union_type, DW_TAG_class_type), if any- Returns:
- full name
-
getParent
IDIE getParent()- Returns:
- parent
-
getChildren
All children of thisIDIE
- Returns:
- children
-
getAttributes
List<IDIEAttribute> getAttributes()All attributes of thisIDIE
- Returns:
- attributes
-
getAttribute
Retrieve an attribute by its name- Parameters:
name
- attribute name seeDwarf.DwarfAttribute
- Returns:
- attribute
-
getAttribute
Retrieve an attribute- Parameters:
attribute
-- Returns:
- attribute
-
getChildAtOffset
Retrieve the child at this offset- Parameters:
offset
-- Returns:
- IDIE
-
getCompileUnit
IDwCompileUnit getCompileUnit()Retrieve the parent Compile Unit- Returns:
- top hierarchy parent
-
getReference
Retrieve theIDIE
referenced by this attribute (if any).- Parameters:
attribute
-- Returns:
- real IDIE
-
getSpecification
IDIE getSpecification()Retrieve the specification of thisIDIE
.- Returns:
- real IDIE
-