Package ghidra.app.cmd.refs
Class EditRefTypeCmd
java.lang.Object
ghidra.app.cmd.refs.EditRefTypeCmd
- All Implemented Interfaces:
Command
Command to change the reference type of a memory reference
-
Constructor Summary
ConstructorsConstructorDescriptionEditRefTypeCmd
(Reference ref, RefType newRefType) Constructs a new command for changing the reference type of a reference. -
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.
-
Constructor Details
-
EditRefTypeCmd
Constructs a new command for changing the reference type of a reference.- Parameters:
ref
- the reference whose type it to be changed.newRefType
- the ref type to assign to the reference.
-
-
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
- See Also:
-
getName
Description copied from interface:Command
Returns the name of this command.
-