Package ghidra.app.util.demangler

# Class DemangledParameter

java.lang.Object
ghidra.app.util.demangler.DemangledParameter

public class DemangledParameter extends Object
A class to represent a demangled function parameter.

This extends `DemangledDataType` in order to associate an optional parameter label with its data type.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DemangledParameter(DemangledDataType type)`
  Creates a new `DemangledParameter` with the given type and no label

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getLabel()`
  Returns the parameter's label (could be null).
  `DemangledDataType`
  `getType()`
  Returns the parameter's type.
  `void`
  `setLabel(String label)`
  Sets the parameter's label
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### DemangledParameter

    public DemangledParameter(DemangledDataType type)
    Creates a new `DemangledParameter` with the given type and no label
    Parameters:
      `type` - The parameter type

- ## Method Details

  - ### getType

    public DemangledDataType getType()
    Returns the parameter's type.
    Returns:
      the parameter's type

  - ### getLabel

    public String getLabel()
    Returns the parameter's label (could be null).
    Returns:
      the parameter's label (could be null)

  - ### setLabel

    public void setLabel(String label)
    Sets the parameter's label
    Parameters:
      `label` - The label (null for no label)

  - ### toString

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