private Transferable copyDataText(boolean followPointers) {
		AddressSetView addrs = getSelectedAddresses();
		List<String> strings = new ArrayList<>();
		Listing listing = currentProgram.getListing();
		if (addrs instanceof ProgramSelection programSelection &&
			programSelection.getInteriorSelection() != null) {
			InteriorSelection interiorSelection = programSelection.getInteriorSelection();
			copyInteriorDataText(strings, listing, interiorSelection, followPointers);
		}
		else {
			for (Data data : listing.getData(addrs, true)) {
				String string = getString(data, followPointers);
				if (string != null) {
					strings.add(string);
				}
			}
		}
		return createStringTransferable(String.join("\n", strings));
	}
Gets the Shared GhidraURL to the currentLocation within the currentProgram.
@return string transferable GhidraURL type.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/clipboard/CodeBrowserClipboardProvider.java