Package ghidra.program.model.lang

# Class ParameterPieces

java.lang.Object
ghidra.program.model.lang.ParameterPieces

public class ParameterPieces extends Object
Basic elements of a parameter: address, data-type, properties

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `Address`
  `address`
  `boolean`
  `hiddenReturnPtr`
  `boolean`
  `isIndirect`
  `boolean`
  `isThisPointer`
  `Varnode[]`
  `joinPieces`
  `DataType`
  `type`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ParameterPieces()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `VariableStorage`
  `getVariableStorage(Program program)`
  `void`
  `swapMarkup(ParameterPieces op)`
  Swap data-type markup between this and another parameter Swap any data-type and flags, but leave the storage address intact.

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

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

- ## Field Details

  - ### address

    public Address address

  - ### type

    public DataType type

  - ### joinPieces

    public Varnode[] joinPieces

  - ### isThisPointer

    public boolean isThisPointer

  - ### hiddenReturnPtr

    public boolean hiddenReturnPtr

  - ### isIndirect

    public boolean isIndirect

- ## Constructor Details

  - ### ParameterPieces

    public ParameterPieces()

- ## Method Details

  - ### swapMarkup

    public void swapMarkup(ParameterPieces op)
    Swap data-type markup between this and another parameter Swap any data-type and flags, but leave the storage address intact. This assumes the two parameters are the same size.
    Parameters:
      `op` - is the other parameter to swap with this.

  - ### getVariableStorage

    public VariableStorage getVariableStorage(Program program)