Class ListingCommentsSearchAndReplaceHandler

java.lang.Object
ghidra.features.base.replace.SearchAndReplaceHandler
ghidra.features.base.replace.handler.ListingCommentsSearchAndReplaceHandler
All Implemented Interfaces:
ExtensionPoint

public class ListingCommentsSearchAndReplaceHandler extends SearchAndReplaceHandler
SearchAndReplaceHandler for handling search and replace for listing comments on instructions or data.
  • Constructor Details

    • ListingCommentsSearchAndReplaceHandler

      public ListingCommentsSearchAndReplaceHandler()
  • Method Details

    • findAll

      public void findAll(Program program, SearchAndReplaceQuery query, Accumulator<QuickFix> accumulator, TaskMonitor monitor) throws CancelledException
      Description copied from class: SearchAndReplaceHandler
      Method to perform the search for the pattern and options as specified by the given SearchAndReplaceQuery. As matches are found, appropriate QuickFixs are added to the given accumulator.
      Specified by:
      findAll in class SearchAndReplaceHandler
      Parameters:
      program - the program being searched
      query - contains the search pattern, replacement pattern, and options related to the query.
      accumulator - the accumulator that resulting QuickFix items are added to as they are found.
      monitor - a TaskMonitor for reporting progress and checking if the search has been cancelled.
      Throws:
      CancelledException - thrown if the operation has been cancelled via the taskmonitor