Package ghidra.program.model.lang

# Class PrototypePieces

java.lang.Object
ghidra.program.model.lang.PrototypePieces

public class PrototypePieces extends Object
Raw components of a function prototype (obtained from parsing source code)

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `firstVarArgSlot`
  `ArrayList<DataType>`
  `intypes`
  `PrototypeModel`
  `model`
  `DataType`
  `outtype`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PrototypePieces(PrototypeModel model, DataType outType)`
  Create prototype with output data-type and empty/unspecified input data-types
  `PrototypePieces(PrototypeModel model, DataType[] oldList, DataType injectedThis)`
  Populate pieces from old-style array of DataTypes

- ## Method Summary

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

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

- ## Field Details

  - ### model

    public PrototypeModel model

  - ### outtype

    public DataType outtype

  - ### intypes

    public ArrayList<DataType> intypes

  - ### firstVarArgSlot

    public int firstVarArgSlot

- ## Constructor Details

  - ### PrototypePieces

    public PrototypePieces(PrototypeModel model, DataType[] oldList, DataType injectedThis)
    Populate pieces from old-style array of DataTypes
    Parameters:
      `model` - is the prototype model
      `oldList` - is the list of output and input data-types
      `injectedThis` - if non-null is the data-type of the this pointer to be injected

  - ### PrototypePieces

    public PrototypePieces(PrototypeModel model, DataType outType)
    Create prototype with output data-type and empty/unspecified input data-types
    Parameters:
      `model` - is the prototype model
      `outType` - is the output data-type