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 intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplyTo(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: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- Returns:
- reason for failure, or null if the status of the command was successful
-
getName
Description copied from interface:CommandReturns the name of this command.
-