@Override
	public void findAll(Program program, SearchAndReplaceQuery query,
			Accumulator<QuickFix> accumulator, TaskMonitor monitor) throws CancelledException {

		Listing listing = program.getListing();
		String[] treeNames = listing.getTreeNames();
		monitor.initialize(treeNames.length, "Search Program Trees");
		for (String treeName : treeNames) {
			monitor.increment();
			findAll(program, treeName, query, accumulator, monitor);
		}
	}
{@link SearchAndReplaceHandler} for handling search and replace for program tree modules and
fragments.
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/handler/ProgramTreeSearchAndReplaceHandler.java