Package ghidra.app.cmd.function
Class SetVariableCommentCmd
java.lang.Object
ghidra.app.cmd.function.SetVariableCommentCmd
Command to set the comment on a function varible.
-
Constructor Summary
ConstructorsConstructorDescriptionSetVariableCommentCmd(Variable var, String newComment) Constructs a new command for setting the comment on a function variable. -
Method Summary
-
Constructor Details
-
SetVariableCommentCmd
Constructs a new command for setting the comment on a function variable.- Parameters:
var- the variable on which to set the comment.newComment- the comment string to set on the specified variable.
-
-
Method Details
-
getName
Description copied from interface:CommandReturns the name of this command. -
applyTo
Description copied from interface:CommandApplies the command to the given domain object. -
getStatusMsg
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
-