private Clipboard setClipBoardContents(String str) {
		// put stuff in copy buffer
		Clipboard systemClipboard = GClipboard.getSystemClipboard();
		systemClipboard.setContents(new Transferable() {
			
			@Override
			public boolean isDataFlavorSupported(DataFlavor flavor) {
				return flavor.equals(DataFlavor.stringFlavor);
			}
			
			@Override
			public DataFlavor[] getTransferDataFlavors() {
				DataFlavor[] df = new DataFlavor[] { DataFlavor.stringFlavor };
				return df;
			}
			
			@Override
			public Object getTransferData(DataFlavor flavor)
					throws UnsupportedFlavorException, IOException {
				if (!flavor.equals(DataFlavor.stringFlavor)) {
					return null;
				}
				return str;
			}
		}, new ClipboardOwner() {
			
			@Override
			public void lostOwnership(Clipboard clipboard, Transferable contents) {
			}
		});
		return systemClipboard;
	}
Tests the {@code PasteCopiedListingBytesScript}, which grabs the copy buffer, and
attempts to parse out address/bytes from either listing format or hexdump format.
Ghidra/Features/Base/src/test.slow/java/ghidra/app/plugin/core/script/PasteCopiedListingBytesScriptTest.java