@SuppressWarnings("unchecked")
	// the cast is generating the warning, but we verified the type is correct
	private List<ProgramNode> getProgramNodeListFromClipboard()
			throws UnsupportedFlavorException, IOException {
		List<ProgramNode> nodeList = Collections.emptyList();
		Transferable t = tempClipboard.getContents(this);
		if (t == null) {
			return nodeList;
		}
		if (!t.isDataFlavorSupported(ProgramTreeTransferable.localTreeNodeFlavor)) {
			return nodeList;
		}
		List<ProgramNode> list =
			(List<ProgramNode>) t.getTransferData(ProgramTreeTransferable.localTreeNodeFlavor);
		return list;
	}
Remove node from the list of ProgramNodes in the clipboard. This method is called
if there was a problem pasting a group.
@param tree the tree
@param node the node
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/programtree/ProgramTreeActionManager.java