Class UpdateFieldCommentQuickFix
java.lang.Object
ghidra.features.base.quickfix.QuickFix
ghidra.features.base.replace.items.CompositeFieldQuickFix
ghidra.features.base.replace.items.UpdateFieldCommentQuickFix
QuickFix for updating structure or union field comments
-
Field Summary
Fields inherited from class ghidra.features.base.replace.items.CompositeFieldQuickFix
compositeFields inherited from class ghidra.features.base.quickfix.QuickFix
current, original, program, replacement -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ghidra.features.base.replace.items.CompositeFieldQuickFix
editComposite, findComponent, getAddress, getComponentByOrdinal, getCustomToolTipData, getPath, navigateSpecialMethods inherited from class ghidra.features.base.quickfix.QuickFix
getCurrent, getOriginal, getPreview, getStatus, getStatusMessage, performAction, refresh, setStatus, setStatus, statusChanged
-
Constructor Details
-
UpdateFieldCommentQuickFix
public UpdateFieldCommentQuickFix(Program program, Composite composite, String fieldName, int ordinal, String original, String newComment) Constructor- Parameters:
program- the program containing the enum value whose comment is to be updatedcomposite- the structure or union whose field comment is to be changedfieldName- the field name whose comment is to be changedordinal- the ordinal of the field being renamed with its containing compositeoriginal- the original comment of the fieldnewComment- the new comment for the field
-
-
Method Details
-
getActionName
Description copied from class:QuickFixReturns the general name of the action to be performed.- Specified by:
getActionNamein classQuickFix- Returns:
- the general name of the action to be performed
-
getItemType
Description copied from class:QuickFixReturns the type of program element being affected (function, label, comment, etc.)- Specified by:
getItemTypein classQuickFix- Returns:
- the type of program element being affected
-
doGetCurrent
Description copied from class:QuickFixReturns the current value of the item.- Specified by:
doGetCurrentin classQuickFix- Returns:
- the current value of the item
-
execute
public void execute()Description copied from class:QuickFixExecutes the action. -
getProgramLocation
- Specified by:
getProgramLocationin classQuickFix
-
getFieldName
- Specified by:
getFieldNamein classCompositeFieldQuickFix
-