Package ghidra.app.cmd.function
Class ChangeFunctionTagCmd
java.lang.Object
ghidra.app.cmd.function.ChangeFunctionTagCmd
Updates the name or comment field for a given function tag
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
-
Method Summary
-
Field Details
-
TAG_NAME_CHANGED
public static final int TAG_NAME_CHANGED- See Also:
-
TAG_COMMENT_CHANGED
public static final int TAG_COMMENT_CHANGED- See Also:
-
-
Constructor Details
-
ChangeFunctionTagCmd
Constructor- Parameters:
tagName
- the name of the tag to changenewVal
- the new value to setfield
- the field to set
-
-
Method Details
-
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
-
getName
Description copied from interface:Command
Returns the name of this command.
-