Package ghidra.app.util.bin.format.dwarf.attribs

# Class DWARFStringAttribute

java.lang.Object
ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeValue
ghidra.app.util.bin.format.dwarf.attribs.DWARFStringAttribute

Direct Known Subclasses:
  `DWARFDeferredStringAttribute`

public class DWARFStringAttribute extends DWARFAttributeValue
DWARF string attribute.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected String`
  `value`

  ### Fields inherited from class ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeValue

  `def`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DWARFStringAttribute(String value, DWARFAttributeDef<?> def)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getValue(DWARFCompilationUnit cu)`
  `String`
  `getValueString(DWARFCompilationUnit cu)`
  `String`
  `toString()`

  ### Methods inherited from class ghidra.app.util.bin.format.dwarf.attribs.DWARFAttributeValue

  `getAttributeForm, getAttributeName, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### value

    protected String value

- ## Constructor Details

  - ### DWARFStringAttribute

    public DWARFStringAttribute(String value, DWARFAttributeDef<?> def)

- ## Method Details

  - ### getValue

    public String getValue(DWARFCompilationUnit cu)

  - ### getValueString

    public String getValueString(DWARFCompilationUnit cu)
    Overrides:
      `getValueString` in class `DWARFAttributeValue`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`