Package ghidra.app.cmd.function
Class AddMemoryParameterCommand
- java.lang.Object
-
- ghidra.app.cmd.function.AddParameterCommand
-
- ghidra.app.cmd.function.AddMemoryParameterCommand
-
- All Implemented Interfaces:
Command
public class AddMemoryParameterCommand extends AddParameterCommand
A command to create a new function memory parameter.
-
-
Field Summary
-
Fields inherited from class ghidra.app.cmd.function.AddParameterCommand
function, ordinal, parameter, source, statusMessage
-
-
Constructor Summary
Constructors Constructor Description AddMemoryParameterCommand(Function function, Address memAddr, java.lang.String name, DataType dataType, int ordinal, SourceType source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Returns the name of this command.protected Parameter
getParameter(Program program)
-
Methods inherited from class ghidra.app.cmd.function.AddParameterCommand
applyTo, getStatusMsg
-
-
-
-
Constructor Detail
-
AddMemoryParameterCommand
public AddMemoryParameterCommand(Function function, Address memAddr, java.lang.String name, DataType dataType, int ordinal, SourceType source)
-
-
Method Detail
-
getParameter
protected Parameter getParameter(Program program) throws InvalidInputException
- Overrides:
getParameter
in classAddParameterCommand
- Throws:
InvalidInputException
-
getName
public java.lang.String getName()
Description copied from interface:Command
Returns the name of this command.- Specified by:
getName
in interfaceCommand
- Overrides:
getName
in classAddParameterCommand
- Returns:
- the name of this command
- See Also:
Command.getName()
-
-