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 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