Package ghidra.app.cmd.function

# Class AddRegisterParameterCommand

java.lang.Object
ghidra.app.cmd.function.AddParameterCommand
ghidra.app.cmd.function.AddRegisterParameterCommand

All Implemented Interfaces:
  `Command`

public class AddRegisterParameterCommand extends AddParameterCommand
A command to create a new function register parameter.

Since:
  Tracker Id 526

- ## Field Summary

  ### Fields inherited from class ghidra.app.cmd.function.AddParameterCommand

  `function, ordinal, parameter, source, statusMessage`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AddRegisterParameterCommand(Function function, Register register, String name, DataType dataType, int ordinal, SourceType source)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  Returns the name of this command.
  `protected Parameter`
  `getParameter(Program program)`

  ### Methods inherited from class ghidra.app.cmd.function.AddParameterCommand

  `applyTo, getStatusMsg`

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

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

- ## Constructor Details

  - ### AddRegisterParameterCommand

    public AddRegisterParameterCommand(Function function, Register register, String name, DataType dataType, int ordinal, SourceType source)

- ## Method Details

  - ### getParameter

    protected Parameter getParameter(Program program) throws InvalidInputException
    Overrides:
      `getParameter` in class `AddParameterCommand`
    Throws:
      `InvalidInputException`

  - ### getName

    public String getName()
    Description copied from interface: `Command`
    Returns the name of this command.
    Specified by:
      `getName` in interface `Command`
    Overrides:
      `getName` in class `AddParameterCommand`
    Returns:
      the name of this command
    See Also:
      - `Command.getName()`