Package ghidra.app.cmd.function
Class AddParameterCommand
java.lang.Object
ghidra.app.cmd.function.AddParameterCommand
- Direct Known Subclasses:
AddMemoryParameterCommand,AddRegisterParameterCommand,AddStackParameterCommand
@Deprecated(forRemoval=true,
since="11.1")
public class AddParameterCommand
extends Object
implements Command<Program>
Deprecated, for removal: This API element is subject to removal in a future version.
Allows for the adding of a parameter to a given function.
Note: If no ordinal is provided to this class at construction time, then
the ordinal of hte given parameter will be used.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final FunctionDeprecated, for removal: This API element is subject to removal in a future version.protected final intDeprecated, for removal: This API element is subject to removal in a future version.protected final SourceTypeDeprecated, for removal: This API element is subject to removal in a future version.protected StringDeprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAddParameterCommand(Function function, int ordinal, SourceType source) Deprecated, for removal: This API element is subject to removal in a future version.AddParameterCommand(Function function, Parameter parameter, int ordinal, SourceType source) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanDeprecated, for removal: This API element is subject to removal in a future version.Applies the command to the given domain object.getName()Deprecated, for removal: This API element is subject to removal in a future version.Returns the name of this command.protected ParametergetParameter(Program program) Deprecated, for removal: This API element is subject to removal in a future version.Get parameter to be addedDeprecated, for removal: This API element is subject to removal in a future version.Returns the status message indicating the status of the command.
-
Field Details
-
function
Deprecated, for removal: This API element is subject to removal in a future version. -
ordinal
protected final int ordinalDeprecated, for removal: This API element is subject to removal in a future version. -
source
Deprecated, for removal: This API element is subject to removal in a future version. -
statusMessage
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
AddParameterCommand
Deprecated, for removal: This API element is subject to removal in a future version. -
AddParameterCommand
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getParameter
Deprecated, for removal: This API element is subject to removal in a future version.Get parameter to be added- Parameters:
program- target program- Returns:
- parameter to be added
- Throws:
InvalidInputException- if unable to generate parameter due to invalid data
-
applyTo
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandApplies the command to the given domain object. -
getStatusMsg
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandReturns the status message indicating the status of the command.- Specified by:
getStatusMsgin interfaceCommand<Program>- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandReturns the name of this command.
-
UpdateFunctionCommandorApplyFunctionSignatureCmd.