Package ghidra.app.cmd.refs
Class AssociateSymbolCmd
java.lang.Object
ghidra.app.cmd.refs.AssociateSymbolCmd
Command class for associating a reference with a specific label
-
Constructor Summary
ConstructorDescriptionAssociateSymbolCmd
(Reference ref, Namespace scope) Constructor.AssociateSymbolCmd
(Reference ref, String symbolName) Create a associate symbol command for a global symbolAssociateSymbolCmd
(Reference ref, String symbolName, Namespace scope) Constructor -
Method Summary
-
Constructor Details
-
AssociateSymbolCmd
Constructor.- Parameters:
ref
- the reference to associate with a symbolscope
- scope that has the symbol to associate with the reference
-
AssociateSymbolCmd
Constructor- Parameters:
ref
- the reference to associate with a symbolsymbolName
- the name of the symbol with which to associate the reference.scope
- scope of the symbol with the given symbolName
-
AssociateSymbolCmd
Create a associate symbol command for a global symbol- Parameters:
ref
- the reference to associate with a symbolsymbolName
- the name of the symbol with which to associate 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<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.
-