Package ghidra.app.cmd.function
Class ChangeFunctionTagCmd
java.lang.Object
ghidra.app.cmd.function.ChangeFunctionTagCmd
- All Implemented Interfaces:
Command
Updates the name or comment field for a given function tag
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
applyTo
(DomainObject obj) Applies the command to the given domain object.getName()
Returns the name of this command.Returns the status message indicating the status of the command.
-
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
- 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.
-