private void searchAndReplace(NavigatableActionContext c) {
		SearchAndReplaceDialog dialog = getDialog();
		SearchAndReplaceQuery query = dialog.show(tool);
		if (query == null) {
			return;
		}

		Program program = c.getProgram();
		providers.add(new SearchAndReplaceProvider(this, program, query));
	}
Plugin to perform search and replace operations for many different program element types such
as labels, functions, classes, datatypes, memory blocks, and more.
Ghidra/Features/Base/src/main/java/ghidra/features/base/replace/SearchAndReplacePlugin.java