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
ConstructorDescriptionSetVariableCommentCmd
(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:Command
Returns the name of this command. -
applyTo
Description copied from interface:Command
Applies the command to the given domain object. -
getStatusMsg
Description copied from interface:Command
Returns the status message indicating the status of the command.- Specified by:
getStatusMsg
in interfaceCommand<Program>
- Returns:
- reason for failure, or null if the status of the command was successful
-